Changeset 4937 for trunk/oscam.c
- Timestamp:
- 04/06/11 09:11:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam.c
r4935 r4937 815 815 ac_init_stat(); 816 816 #endif 817 } 818 819 static void init_signal_pre() 820 { 821 set_signal_handler(SIGPIPE , 1, SIG_IGN); 822 set_signal_handler(SIGWINCH, 1, SIG_IGN); 823 set_signal_handler(SIGALRM , 1, SIG_IGN); 824 set_signal_handler(SIGHUP , 1, SIG_IGN); 817 825 } 818 826 … … 3283 3291 3284 3292 if (cs_confdir[strlen(cs_confdir)]!='/') strcat(cs_confdir, "/"); 3293 init_signal_pre(); // because log could cause SIGPIPE errors, init a signal handler first 3285 3294 init_first_client(); 3286 3295 init_config();
Note:
See TracChangeset
for help on using the changeset viewer.