Changeset 454 for trunk/server/source3/lib/fault.c
- Timestamp:
- Jun 4, 2010, 3:11:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/lib/fault.c
r414 r454 54 54 if (cont_fn) { 55 55 cont_fn(NULL); 56 #ifndef __OS2__ /* don't use the built in signal capture stuff - prefer native handling of errors */ 56 57 #ifdef SIGSEGV 57 58 CatchSignal(SIGSEGV,SIGNAL_CAST SIG_DFL); … … 62 63 #ifdef SIGABRT 63 64 CatchSignal(SIGABRT,SIGNAL_CAST SIG_DFL); 65 #endif 64 66 #endif 65 67 return; /* this should cause a core dump */ … … 83 85 cont_fn = fn; 84 86 87 #ifndef __OS2__ /* don't use the built in signal capture stuff - prefer native handling of errors */ 85 88 #ifdef SIGSEGV 86 89 CatchSignal(SIGSEGV,SIGNAL_CAST sig_fault); … … 91 94 #ifdef SIGABRT 92 95 CatchSignal(SIGABRT,SIGNAL_CAST sig_fault); 96 #endif 93 97 #endif 94 98 }
Note:
See TracChangeset
for help on using the changeset viewer.