Changes in owl.c [4e4847c:40bda84]
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r4e4847c r40bda84 46 46 } owl_options; 47 47 48 void usage( )48 void usage(void) 49 49 { 50 50 fprintf(stderr, "Barnowl version %s\n", OWL_VERSION_STRING); … … 378 378 } 379 379 380 void sigtstp_handler(int sig, siginfo_t *si, void *data) 381 { 382 owl_global_set_got_sigstp(&g); 383 } 384 380 385 void owl_register_signal_handlers(void) { 381 386 struct sigaction sigact; … … 395 400 sigaction(SIGINT, &sigact, NULL); 396 401 402 sigact.sa_sigaction=sigtstp_handler; 403 sigaction(SIGTSTP, &sigact, NULL); 397 404 } 398 405
Note: See TracChangeset
for help on using the changeset viewer.