Mercurial > emacs
changeset 16116:80a67b8f39e9
(create_process_1, sigchld_handler) [POSIX_SIGNALS]:
Don't reestablish handler.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 Sep 1996 15:07:07 +0000 |
parents | cc8c3e2cc6ed |
children | 16c866efd8b5 |
files | src/process.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Wed Sep 04 15:02:52 1996 +0000 +++ b/src/process.c Wed Sep 04 15:07:07 1996 +0000 @@ -1177,7 +1177,7 @@ create_process_1 (signo) int signo; { -#ifdef USG +#if defined (USG) && !defined (POSIX_SIGNALS) /* USG systems forget handlers when they are used; must reestablish each time */ signal (signo, create_process_1); @@ -3371,7 +3371,7 @@ /* USG systems forget handlers when they are used; must reestablish each time */ -#ifdef USG +#if defined (USG) && !defined (POSIX_SIGNALS) signal (signo, sigchld_handler); /* WARNING - must come after wait3() */ #endif #ifdef BSD4_1 @@ -3479,7 +3479,7 @@ Otherwise (on systems that have WNOHANG), loop around to use up all the processes that have something to tell us. */ #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) -#ifdef USG +#if defined (USG) && ! defined (POSIX_SIGNALS) signal (signo, sigchld_handler); #endif errno = old_errno;