diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2004-01-26 23:39:30 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2004-01-26 23:39:30 +0000 |
commit | c22aeff8e876b2820d134477a653f0679b71f488 (patch) | |
tree | ac1d31392dfe6c17dc97c8ea8e216ff9003eed78 | |
parent | ca4981285f6aa4883c44f0ac857aaca686241669 (diff) | |
download | emacs-c22aeff8e876b2820d134477a653f0679b71f488.tar.gz emacs-c22aeff8e876b2820d134477a653f0679b71f488.tar.bz2 emacs-c22aeff8e876b2820d134477a653f0679b71f488.zip |
(sigchld_handler): Set synch_process_termsig
if terminated by a signal. synch_process_death setting removed.
-rw-r--r-- | src/process.c | 13 |
1 files changed, 1 insertions, 12 deletions
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. */ |