changeset 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 659b9b404c02
children 77ad9650fc55
files src/process.c
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
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.  */