changeset 53716:819ff51d5753

Do not call strsignal in signal handler, it calls malloc. New variable synch_process_termsig that callproc checks and calls strsignal outside signal handler.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 26 Jan 2004 23:41:09 +0000
parents 811d720ddd2b
children fd8f2c0a57c4
files src/ChangeLog
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Jan 26 23:40:08 2004 +0000
+++ b/src/ChangeLog	Mon Jan 26 23:41:09 2004 +0000
@@ -1,3 +1,16 @@
+2004-01-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* process.h: synch_process_termsig new variable.
+
+	* callproc.c: Define synch_process_termsig.
+	(Fcall_process): Initiate synch_process_termsig to zero and
+	check if non-zero and get signal name after subprocess has ended.
+
+	* process.c (sigchld_handler): Set synch_process_termsig
+	if terminated by a signal.  synch_process_death setting removed.
+
+	* sysdep.c (mkdir, rmdir): Also check synch_process_termsig.
+
 2004-01-26  Andreas Schwab  <schwab@suse.de>
 
 	* print.c (print_preprocess): Declare size as EMACS_INT to not