without debugger no reason to manage SIGINT
This commit is contained in:
parent
bfac5fc2a1
commit
2f45a02a10
1 changed files with 0 additions and 9 deletions
|
@ -104,15 +104,6 @@ int main( int argc, char** argv ) {
|
|||
#endif
|
||||
sigaction( SIGALRM, &sa, ( struct sigaction* )0 );
|
||||
|
||||
sigemptyset( &set );
|
||||
sigaddset( &set, SIGINT );
|
||||
sa.sa_handler = signal_handler;
|
||||
sa.sa_mask = set;
|
||||
#ifdef SA_RESTART
|
||||
sa.sa_flags = SA_RESTART;
|
||||
#endif
|
||||
sigaction( SIGINT, &sa, ( struct sigaction* )0 );
|
||||
|
||||
sigemptyset( &set );
|
||||
sigaddset( &set, SIGPIPE );
|
||||
sa.sa_handler = signal_handler;
|
||||
|
|
Loading…
Reference in a new issue