diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-09-16 13:04:23 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-09-16 13:04:23 +0000 |
commit | 9a0bb78af724a0819bec2c6f6bd005a863df624e (patch) | |
tree | 799585aab32db78e718faec7394df719d38ef97e | |
parent | 92c956ff0c19ecc08b86d65ce943da84b083b0d1 (diff) |
use FD_SETSIZE instead of XFD_SETSIZE since the sice of fd_set depends onCYGWIN-6_8_2-MERGECYGWIN-6_8_1-MERGECYGWIN
the first
-rw-r--r-- | os/waitfor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/waitfor.c b/os/waitfor.c index 09e30c8..1c3ebef 100644 --- a/os/waitfor.c +++ b/os/waitfor.c @@ -196,7 +196,7 @@ WaitForSomething(int *pClientsReady) 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)]; |