Changeset 620 for trunk/server/lib
- Timestamp:
- Aug 6, 2011, 6:50:53 PM (14 years ago)
- Location:
- trunk/server/lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/replace/system/config.m4
r414 r620 2 2 AC_HEADER_DIRENT 3 3 AC_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 )4 AC_CHECK_HEADERS(sys/acl.h acl/libacl.h sys/file.h) 5 5 6 6 # select -
trunk/server/lib/replace/system/filesys.h
r414 r620 78 78 #endif 79 79 80 #ifdef HAVE_SYS_FILE_H 80 81 #include <sys/file.h> 82 #endif 81 83 82 84 #ifdef HAVE_FCNTL_H -
trunk/server/lib/replace/system/wait.h
r414 r620 45 45 #endif 46 46 47 #ifndef SA_RESETHAND48 #define SA_RESETHAND SA_ONESHOT49 #endif50 51 47 #if !defined(HAVE_SIG_ATOMIC_T_TYPE) 52 48 typedef int sig_atomic_t; -
trunk/server/lib/tevent/testsuite.c
r414 r620 102 102 se1 = event_add_signal(ev_ctx, ev_ctx, SIGALRM, SA_RESTART, count_handler, &alarm_count); 103 103 #endif 104 #ifdef SA_RESETHAND 104 105 se2 = event_add_signal(ev_ctx, ev_ctx, SIGALRM, SA_RESETHAND, count_handler, &alarm_count); 106 #endif 105 107 #ifdef SA_SIGINFO 106 108 se3 = event_add_signal(ev_ctx, ev_ctx, SIGUSR1, SA_SIGINFO, count_handler, &info_count); -
trunk/server/lib/tevent/tevent_signal.c
r464 r620 363 363 se->private_data); 364 364 } 365 #ifdef SA_RESETHAND 365 366 if (se->sa_flags & SA_RESETHAND) { 366 367 talloc_free(se); 367 368 } 369 #endif 368 370 continue; 369 371 } 370 372 #endif 371 373 se->handler(ev, se, i, count, NULL, se->private_data); 374 #ifdef SA_RESETHAND 372 375 if (se->sa_flags & SA_RESETHAND) { 373 376 talloc_free(se); 374 377 } 378 #endif 375 379 } 376 380
Note:
See TracChangeset
for help on using the changeset viewer.