changeset 53732:0341435e76ce

* process.c (sigchld_handler): Add comment about not calling malloc
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 27 Jan 2004 21:34:43 +0000
parents e17528907817
children d5f680b60b41
files src/ChangeLog src/process.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jan 27 19:01:24 2004 +0000
+++ b/src/ChangeLog	Tue Jan 27 21:34:43 2004 +0000
@@ -1,5 +1,7 @@
 2004-01-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
+	* process.c (sigchld_handler): Add comment about not calling malloc.
+
 	* process.h: Add extern to synch_process_termsig.
 
 2004-01-27  Steven Tamm <steventamm@mac.com>
--- a/src/process.c	Tue Jan 27 19:01:24 2004 +0000
+++ b/src/process.c	Tue Jan 27 21:34:43 2004 +0000
@@ -6094,7 +6094,10 @@
    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)