Mercurial > emacs
diff src/process.c @ 53713:e069e543fd28
(sigchld_handler): Set synch_process_termsig
if terminated by a signal. synch_process_death setting removed.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Mon, 26 Jan 2004 23:39:30 +0000 |
parents | 291acfb4bf40 |
children | 0341435e76ce |
line wrap: on
line diff
--- a/src/process.c Mon Jan 26 23:39:08 2004 +0000 +++ b/src/process.c Mon Jan 26 23:39:30 2004 +0000 @@ -6212,18 +6212,7 @@ if (WIFEXITED (w)) synch_process_retcode = WRETCODE (w); else if (WIFSIGNALED (w)) - { - int code = WTERMSIG (w); - char *signame; - - synchronize_system_messages_locale (); - signame = strsignal (code); - - if (signame == 0) - signame = "unknown"; - - synch_process_death = signame; - } + synch_process_termsig = WTERMSIG (w); /* Tell wait_reading_process_input that it needs to wake up and look around. */