[Xorg-commit] xc/programs/xfs/os waitfor.c,1.1.4.1,1.1.4.1.2.1

Alexander Gottwald xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007


Committed by: ago

Update of /cvs/xorg/xc/programs/xfs/os
In directory pdx:/tmp/cvs-serv6560

Modified Files:
      Tag: CYGWIN
	waitfor.c 
Log Message:
- use FD_SETSIZE instead of XFD_SETSIZE. The structures we operate on are
  sized using FD_SETSIZE and this may differ from XFD_SETSIZE


Index: waitfor.c
===================================================================
RCS file: /cvs/xorg/xc/programs/xfs/os/waitfor.c,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.1.2.1
diff -u -d -r1.1.4.1 -r1.1.4.1.2.1
--- waitfor.c	17 Nov 2003 19:03:48 -0000	1.1.4.1
+++ waitfor.c	3 Feb 2004 17:27:13 -0000	1.1.4.1.2.1
@@ -196,7 +196,7 @@
 
 	if (current_time)	/* may not have been set */
 	    current_time = GetTimeInMillis();
-	for (i = 0; i < howmany(XFD_SETSIZE, NFDBITS); i++) {
+	for (i = 0; i < howmany(FD_SETSIZE, NFDBITS); i++) {
 	    while (clientsReadable.fds_bits[i]) {
 		curclient = ffs(clientsReadable.fds_bits[i]) - 1;
 		conn = ConnectionTranslation[curclient + (i << 5)];





More information about the xorg-commit mailing list