From: Jan Djärv Date: Tue, 27 Jan 2004 21:34:43 +0000 (+0000) Subject: * process.c (sigchld_handler): Add comment about not calling malloc X-Git-Tag: ttn-vms-21-2-B4~7808 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce38070aa21d6d1e4853e022bdedca7e3d7a99b8;p=emacs.git * process.c (sigchld_handler): Add comment about not calling malloc --- diff --git a/src/ChangeLog b/src/ChangeLog index 4592da888a7..e4f53a22ee8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2004-01-27 Jan Dj,Ad(Brv + * process.c (sigchld_handler): Add comment about not calling malloc. + * process.h: Add extern to synch_process_termsig. 2004-01-27 Steven Tamm diff --git a/src/process.c b/src/process.c index 83f6df2d237..52d9bf3fff5 100644 --- a/src/process.c +++ b/src/process.c @@ -6094,7 +6094,10 @@ kill_buffer_processes (buffer) queued and the signal-catching function will be continually reentered until the queue is empty". Invoking signal() causes the kernel to reexamine the SIGCLD queue. Fred Fish, UniSoft Systems - Inc. */ + Inc. + + ** Malloc WARNING: This should never call malloc either directly or + indirectly; if it does, that is a bug */ SIGTYPE sigchld_handler (signo)