]> git.eshelyaron.com Git - emacs.git/commitdiff
(sigchld_handler): Set synch_process_termsig
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 26 Jan 2004 23:39:30 +0000 (23:39 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 26 Jan 2004 23:39:30 +0000 (23:39 +0000)
if terminated by a signal.  synch_process_death setting removed.

src/process.c

index fec6fdb2660f339f2150cd3e7ed2515c8b7d9eb6..83f6df2d2370c94e815e283274c2b53a8acb88e4 100644 (file)
@@ -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.  */