[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Hoping to find an fd larger than ((unsigned)-1) is probably...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Hoping to find an fd larger than ((unsigned)-1) is probably...
- From: nickm@seul.org (Nick Mathewson)
- Date: Tue, 7 Oct 2003 16:45:20 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 07 Oct 2003 16:45:34 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv16860
Modified Files:
fakepoll.c
Log Message:
Hoping to find an fd larger than ((unsigned)-1) is probably a lost cause.
Index: fakepoll.c
===================================================================
RCS file: /home/or/cvsroot/src/common/fakepoll.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- fakepoll.c 7 Oct 2003 20:02:45 -0000 1.9
+++ fakepoll.c 7 Oct 2003 20:45:16 -0000 1.10
@@ -29,7 +29,7 @@
int
poll(struct pollfd *ufds, unsigned int nfds, int timeout)
{
- unsigned int idx, maxfd, fd;
+ int idx, maxfd, fd;
int r;
#ifdef MS_WINDOWS
int any_fds_set = 0;