Changeset 516 for trunk/zoo-project/zoo-kernel/zoo_service_loader.c
- Timestamp:
- Oct 27, 2014, 5:45:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r514 r516 666 666 667 667 #ifndef USE_GDB 668 (void) signal(SIGSEGV,sig_handler); 669 (void) signal(SIGTERM,sig_handler); 670 (void) signal(SIGINT,sig_handler); 671 (void) signal(SIGILL,sig_handler); 672 (void) signal(SIGFPE,sig_handler); 673 (void) signal(SIGABRT,sig_handler); 668 signal(SIGCHLD, SIG_IGN); 669 signal(SIGSEGV,sig_handler); 670 signal(SIGTERM,sig_handler); 671 signal(SIGINT,sig_handler); 672 signal(SIGILL,sig_handler); 673 signal(SIGFPE,sig_handler); 674 signal(SIGABRT,sig_handler); 674 675 #endif 675 676 … … 2716 2717 */ 2717 2718 #ifndef USE_GDB 2718 (void)signal(SIGSEGV,donothing);2719 (void)signal(SIGTERM,donothing);2720 (void)signal(SIGINT,donothing);2721 (void)signal(SIGILL,donothing);2722 (void)signal(SIGFPE,donothing);2723 (void)signal(SIGABRT,donothing);2719 signal(SIGSEGV,donothing); 2720 signal(SIGTERM,donothing); 2721 signal(SIGINT,donothing); 2722 signal(SIGILL,donothing); 2723 signal(SIGFPE,donothing); 2724 signal(SIGABRT,donothing); 2724 2725 #endif 2725 2726 if(((int)getpid())!=cpid || cgiSid!=NULL){ … … 2772 2773 #endif 2773 2774 2775 if(((int)getpid())!=cpid || cgiSid!=NULL){ 2776 exit(0); 2777 } 2778 2774 2779 return 0; 2775 2780 }
Note: See TracChangeset
for help on using the changeset viewer.