Changeset 591 for vendor/current/source3/lib/select.c
- Timestamp:
- Jul 1, 2011, 9:17:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/lib/select.c
r414 r591 76 76 } 77 77 78 if (select_pipe[0] < 0 || select_pipe[0] >= FD_SETSIZE) { 79 DEBUG(0, ("sys_select: bad fd\n")); 80 if (readfds != NULL) 81 FD_ZERO(readfds); 82 if (writefds != NULL) 83 FD_ZERO(writefds); 84 if (errorfds != NULL) 85 FD_ZERO(errorfds); 86 errno = EBADF; 87 return -1; 88 } 78 89 /* 79 90 * These next two lines seem to fix a bug with the Linux … … 102 113 FD_ZERO(readfds2); 103 114 } 115 104 116 FD_SET(select_pipe[0], readfds2); 105 117
Note:
See TracChangeset
for help on using the changeset viewer.