[or-cvs] Hoping to find an fd larger than ((unsigned)-1) is probably...
Nick Mathewson
nickm at seul.org
Tue Oct 7 20:45:20 UTC 2003
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;
More information about the tor-commits
mailing list