Ignore:
Timestamp:
Nov 29, 2012, 2:06:31 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.9 2nd part

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/lib/replace/poll.c

    r745 r752  
    3131#include "replace.h"
    3232#include "system/select.h"
    33 
    34 #ifdef __OS2__
     33#ifdef HAVE_SYS_TIME_H
    3534#include <sys/time.h>
     35#endif
     36#ifdef HAVE_SYS_IOCTL_H
    3637#include <sys/ioctl.h>
    3738#endif
     
    4546        nfds_t i;
    4647
    47         if (fds == NULL) {
     48        if ((fds == NULL) && (nfds != 0)) {
    4849                errno = EFAULT;
    4950                return -1;
Note: See TracChangeset for help on using the changeset viewer.