Ignore:
Timestamp:
Jul 1, 2011, 9:17:44 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/lib/select.c

    r414 r591  
    7676                }
    7777
     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                }
    7889                /*
    7990                 * These next two lines seem to fix a bug with the Linux
     
    102113                FD_ZERO(readfds2);
    103114        }
     115
    104116        FD_SET(select_pipe[0], readfds2);
    105117
Note: See TracChangeset for help on using the changeset viewer.