# HG changeset patch # User Karl Heuer # Date 837556389 0 # Node ID c7870b16f24ba05b7d7ade711cdf72d820d5257f # Parent e7b17d9c23fe08252d1dfb73fc9bcbf83c46a4d5 (create_process_1, sigchld_handler): Undo previous change. diff -r e7b17d9c23fe -r c7870b16f24b src/process.c --- a/src/process.c Tue Jul 16 22:23:11 1996 +0000 +++ b/src/process.c Tue Jul 16 22:33:09 1996 +0000 @@ -1167,7 +1167,7 @@ create_process_1 (signo) int signo; { -#if defined(USG) && !defined(POSIX_SIGNALS) +#ifdef USG /* USG systems forget handlers when they are used; must reestablish each time */ signal (signo, create_process_1); @@ -3352,7 +3352,7 @@ /* USG systems forget handlers when they are used; must reestablish each time */ -#if defined(USG) && !defined(POSIX_SIGNALS) +#ifdef USG signal (signo, sigchld_handler); /* WARNING - must come after wait3() */ #endif #ifdef BSD4_1 @@ -3460,7 +3460,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) -# if defined (USG) && ! defined(POSIX_SIGNALS) +#ifdef USG signal (signo, sigchld_handler); #endif errno = old_errno;