Changeset 516 for trunk/zoo-project
- Timestamp:
- Oct 27, 2014, 5:45:38 PM (10 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_loader.c
r510 r516 356 356 runRequest(&tmpMap); 357 357 358 /** 359 * Required but can't be made after executing a process using POST requests. 360 */ 361 if(/*strncasecmp(cgiRequestMethod,"post",4)!=0 && count(tmpMap)!=1 && */tmpMap!=NULL){ 358 if(tmpMap!=NULL){ 362 359 freeMap(&tmpMap); 363 360 free(tmpMap); -
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.