summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-16 22:33:09 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-16 22:33:09 +0000
commit0201515621f5c4b056a028224e927f7417ea5b85 (patch)
treee01e133dc3a55c194388e61fbda6f70db2785690
parentaeb0594834857c1b5a412d1cca548ab9dc39a0cc (diff)
downloademacs-0201515621f5c4b056a028224e927f7417ea5b85.tar.gz
(create_process_1, sigchld_handler): Undo previous change.
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index ef00094401c..a527066277b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1167,7 +1167,7 @@ SIGTYPE
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 @@ sigchld_handler (signo)
/* 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 @@ sigchld_handler (signo)
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;