Changeset 593 for trunk/server/source3/lib/select.c
- Timestamp:
- Jul 1, 2011, 10:18:23 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/server/source3/lib/select.c ¶
r465 r593 80 80 } 81 81 82 if (select_pipe[0] < 0 || select_pipe[0] >= FD_SETSIZE) { 83 DEBUG(0, ("sys_select: bad fd\n")); 84 if (readfds != NULL) 85 FD_ZERO(readfds); 86 if (writefds != NULL) 87 FD_ZERO(writefds); 88 if (errorfds != NULL) 89 FD_ZERO(errorfds); 90 errno = EBADF; 91 return -1; 92 } 82 93 /* 83 94 * These next two lines seem to fix a bug with the Linux … … 106 117 FD_ZERO(readfds2); 107 118 } 119 108 120 FD_SET(select_pipe[0], readfds2); 109 121
Note:
See TracChangeset
for help on using the changeset viewer.