Ignore:
Timestamp:
Jul 1, 2011, 10:18:23 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/server/source3/lib/select.c

    r465 r593  
    8080                }
    8181
     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                }
    8293                /*
    8394                 * These next two lines seem to fix a bug with the Linux
     
    106117                FD_ZERO(readfds2);
    107118        }
     119
    108120        FD_SET(select_pipe[0], readfds2);
    109121
Note: See TracChangeset for help on using the changeset viewer.