changeset 71139:355a8928782c

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Thu, 01 Jun 2006 14:07:33 +0000
parents 5cf77229c85d
children 80310801887e
files src/ChangeLog
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jun 01 13:53:19 2006 +0000
+++ b/src/ChangeLog	Thu Jun 01 14:07:33 2006 +0000
@@ -1,3 +1,16 @@
+2006-06-01  Micha,Ak(Bl Cadilhac  <michael.cadilhac@lrde.org>
+
+	* process.c (deleted_pid_list): New variable to store the pids
+	of deleted processes.  Declare it only if SIGCHLD is defined.
+	(init_process): Initialize it.
+	(syms_of_process): Staticpro it.
+	(Fdelete_process): Add pid of the deleted process to it.  Check after
+	the addition and before the kill if the process is already stopped,
+	in which case it is deleted from the list and not killed.
+	(sigchld_handler): Define it only if SIGCHLD is.  Search the process
+	that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'.
+	Original idea by Stefan Monnier.
+
 2006-06-01  Kim F. Storm  <storm@cua.dk>
 
 	* dispnew.c (sit_for): Perform redisplay even if input is pending