From: Jan Djärv Date: Mon, 26 Jan 2004 23:39:30 +0000 (+0000) Subject: (sigchld_handler): Set synch_process_termsig X-Git-Tag: ttn-vms-21-2-B4~7823 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c22aeff8e876b2820d134477a653f0679b71f488;p=emacs.git (sigchld_handler): Set synch_process_termsig if terminated by a signal. synch_process_death setting removed. --- diff --git a/src/process.c b/src/process.c index fec6fdb2660..83f6df2d237 100644 --- a/src/process.c +++ b/src/process.c @@ -6212,18 +6212,7 @@ sigchld_handler (signo) 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. */