comparison src/sighandlers.cc @ 5844:034cdbd34c0a

[project @ 2006-06-07 15:38:58 by jwe]
author jwe
date Wed, 07 Jun 2006 15:38:58 +0000
parents 080c08b192d8
children f9ac7ebf0e19
comparison
equal deleted inserted replaced
5843:393100dce990 5844:034cdbd34c0a
219 } 219 }
220 220
221 static RETSIGTYPE 221 static RETSIGTYPE
222 generic_sig_handler (int sig) 222 generic_sig_handler (int sig)
223 { 223 {
224 my_friendly_exit (sys_siglist[sig], sig); 224 my_friendly_exit (strsignal (sig), sig);
225 225
226 SIGHANDLER_RETURN (0); 226 SIGHANDLER_RETURN (0);
227 } 227 }
228 228
229 // Handle SIGCHLD. 229 // Handle SIGCHLD.
408 408
409 MAYBE_REINSTALL_SIGHANDLER (sig, sigint_handler); 409 MAYBE_REINSTALL_SIGHANDLER (sig, sigint_handler);
410 410
411 #ifdef USE_W32_SIGINT 411 #ifdef USE_W32_SIGINT
412 if (w32_in_main_thread ()) 412 if (w32_in_main_thread ())
413 user_abort (sys_siglist[sig], sig); 413 user_abort (strsignal (sig), sig);
414 else 414 else
415 w32_raise (sig); 415 w32_raise (sig);
416 #else 416 #else
417 user_abort (sys_siglist[sig], sig); 417 user_abort (strsignal (sig), sig);
418 #endif 418 #endif
419 419
420 SIGHANDLER_RETURN (0); 420 SIGHANDLER_RETURN (0);
421 } 421 }
422 422