From ce38070aa21d6d1e4853e022bdedca7e3d7a99b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 27 Jan 2004 21:34:43 +0000 Subject: [PATCH] * process.c (sigchld_handler): Add comment about not calling malloc --- src/ChangeLog | 2 ++ src/process.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.39.2