# HG changeset patch # User Paul Eggert # Date 1007704355 0 # Node ID 0028402ed7d1d56fa79517623d5fbc0d04ca1081 # Parent 44ee7ea631a7d13573533e69cdaa8f6c7d3f0582 (create_process): Use HAVE_WORKING_VFORK, not HAVE_VFORK. diff -r 44ee7ea631a7 -r 0028402ed7d1 src/process.c --- a/src/process.c Fri Dec 07 05:51:51 2001 +0000 +++ b/src/process.c Fri Dec 07 05:52:35 2001 +0000 @@ -1428,7 +1428,7 @@ #ifdef SIGCHLD sigaddset (&blocked, SIGCHLD); #endif -#ifdef HAVE_VFORK +#ifdef HAVE_WORKING_VFORK /* On many hosts (e.g. Solaris 2.4), if a vforked child calls `signal', this sets the parent's signal handlers as well as the child's. So delay all interrupts whose handlers the child might munge, @@ -1438,7 +1438,7 @@ #ifdef AIX sigaddset (&blocked, SIGHUP ); sigaction (SIGHUP , 0, &sighup_action ); #endif -#endif /* HAVE_VFORK */ +#endif /* HAVE_WORKING_VFORK */ sigprocmask (SIG_BLOCK, &blocked, &procmask); #else /* !POSIX_SIGNALS */ #ifdef SIGCHLD @@ -1696,14 +1696,14 @@ /* Restore the signal state whether vfork succeeded or not. (We will signal an error, below, if it failed.) */ #ifdef POSIX_SIGNALS -#ifdef HAVE_VFORK +#ifdef HAVE_WORKING_VFORK /* Restore the parent's signal handlers. */ sigaction (SIGINT, &sigint_action, 0); sigaction (SIGQUIT, &sigquit_action, 0); #ifdef AIX sigaction (SIGHUP, &sighup_action, 0); #endif -#endif /* HAVE_VFORK */ +#endif /* HAVE_WORKING_VFORK */ /* Stop blocking signals in the parent. */ sigprocmask (SIG_SETMASK, &procmask, 0); #else /* !POSIX_SIGNALS */