Changeset 620 for trunk/server/lib


Ignore:
Timestamp:
Aug 6, 2011, 6:50:53 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.11

Location:
trunk/server/lib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/replace/system/config.m4

    r414 r620  
    22AC_HEADER_DIRENT
    33AC_CHECK_HEADERS(fcntl.h sys/fcntl.h sys/resource.h sys/ioctl.h sys/mode.h sys/filio.h sys/fs/s5param.h sys/filsys.h)
    4 AC_CHECK_HEADERS(sys/acl.h acl/libacl.h)
     4AC_CHECK_HEADERS(sys/acl.h acl/libacl.h sys/file.h)
    55
    66# select
  • trunk/server/lib/replace/system/filesys.h

    r414 r620  
    7878#endif
    7979
     80#ifdef HAVE_SYS_FILE_H
    8081#include <sys/file.h>
     82#endif
    8183
    8284#ifdef HAVE_FCNTL_H
  • trunk/server/lib/replace/system/wait.h

    r414 r620  
    4545#endif
    4646
    47 #ifndef SA_RESETHAND
    48 #define SA_RESETHAND SA_ONESHOT
    49 #endif
    50 
    5147#if !defined(HAVE_SIG_ATOMIC_T_TYPE)
    5248typedef int sig_atomic_t;
  • trunk/server/lib/tevent/testsuite.c

    r414 r620  
    102102        se1 = event_add_signal(ev_ctx, ev_ctx, SIGALRM, SA_RESTART, count_handler, &alarm_count);
    103103#endif
     104#ifdef SA_RESETHAND
    104105        se2 = event_add_signal(ev_ctx, ev_ctx, SIGALRM, SA_RESETHAND, count_handler, &alarm_count);
     106#endif
    105107#ifdef SA_SIGINFO
    106108        se3 = event_add_signal(ev_ctx, ev_ctx, SIGUSR1, SA_SIGINFO, count_handler, &info_count);
  • trunk/server/lib/tevent/tevent_signal.c

    r464 r620  
    363363                                                    se->private_data);
    364364                                }
     365#ifdef SA_RESETHAND
    365366                                if (se->sa_flags & SA_RESETHAND) {
    366367                                        talloc_free(se);
    367368                                }
     369#endif
    368370                                continue;
    369371                        }
    370372#endif
    371373                        se->handler(ev, se, i, count, NULL, se->private_data);
     374#ifdef SA_RESETHAND
    372375                        if (se->sa_flags & SA_RESETHAND) {
    373376                                talloc_free(se);
    374377                        }
     378#endif
    375379                }
    376380
Note: See TracChangeset for help on using the changeset viewer.