diff options
| author | Paul Eggert | 2001-12-07 05:52:35 +0000 |
|---|---|---|
| committer | Paul Eggert | 2001-12-07 05:52:35 +0000 |
| commit | 351e611fa8abef6846d2354f0092475cc41a4bdf (patch) | |
| tree | 0527c05225c8070c6c3437d4c7d0fd92b2ef30c2 /src | |
| parent | 3e48e9dfc3e65bb8c2a5f79b5a221a49b19d4b79 (diff) | |
| download | emacs-351e611fa8abef6846d2354f0092475cc41a4bdf.tar.gz emacs-351e611fa8abef6846d2354f0092475cc41a4bdf.zip | |
(create_process): Use HAVE_WORKING_VFORK, not HAVE_VFORK.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 3d0a84d4c7b..5d579149f2c 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1428,7 +1428,7 @@ create_process (process, new_argv, current_dir) | |||
| 1428 | #ifdef SIGCHLD | 1428 | #ifdef SIGCHLD |
| 1429 | sigaddset (&blocked, SIGCHLD); | 1429 | sigaddset (&blocked, SIGCHLD); |
| 1430 | #endif | 1430 | #endif |
| 1431 | #ifdef HAVE_VFORK | 1431 | #ifdef HAVE_WORKING_VFORK |
| 1432 | /* On many hosts (e.g. Solaris 2.4), if a vforked child calls `signal', | 1432 | /* On many hosts (e.g. Solaris 2.4), if a vforked child calls `signal', |
| 1433 | this sets the parent's signal handlers as well as the child's. | 1433 | this sets the parent's signal handlers as well as the child's. |
| 1434 | So delay all interrupts whose handlers the child might munge, | 1434 | So delay all interrupts whose handlers the child might munge, |
| @@ -1438,7 +1438,7 @@ create_process (process, new_argv, current_dir) | |||
| 1438 | #ifdef AIX | 1438 | #ifdef AIX |
| 1439 | sigaddset (&blocked, SIGHUP ); sigaction (SIGHUP , 0, &sighup_action ); | 1439 | sigaddset (&blocked, SIGHUP ); sigaction (SIGHUP , 0, &sighup_action ); |
| 1440 | #endif | 1440 | #endif |
| 1441 | #endif /* HAVE_VFORK */ | 1441 | #endif /* HAVE_WORKING_VFORK */ |
| 1442 | sigprocmask (SIG_BLOCK, &blocked, &procmask); | 1442 | sigprocmask (SIG_BLOCK, &blocked, &procmask); |
| 1443 | #else /* !POSIX_SIGNALS */ | 1443 | #else /* !POSIX_SIGNALS */ |
| 1444 | #ifdef SIGCHLD | 1444 | #ifdef SIGCHLD |
| @@ -1696,14 +1696,14 @@ create_process (process, new_argv, current_dir) | |||
| 1696 | /* Restore the signal state whether vfork succeeded or not. | 1696 | /* Restore the signal state whether vfork succeeded or not. |
| 1697 | (We will signal an error, below, if it failed.) */ | 1697 | (We will signal an error, below, if it failed.) */ |
| 1698 | #ifdef POSIX_SIGNALS | 1698 | #ifdef POSIX_SIGNALS |
| 1699 | #ifdef HAVE_VFORK | 1699 | #ifdef HAVE_WORKING_VFORK |
| 1700 | /* Restore the parent's signal handlers. */ | 1700 | /* Restore the parent's signal handlers. */ |
| 1701 | sigaction (SIGINT, &sigint_action, 0); | 1701 | sigaction (SIGINT, &sigint_action, 0); |
| 1702 | sigaction (SIGQUIT, &sigquit_action, 0); | 1702 | sigaction (SIGQUIT, &sigquit_action, 0); |
| 1703 | #ifdef AIX | 1703 | #ifdef AIX |
| 1704 | sigaction (SIGHUP, &sighup_action, 0); | 1704 | sigaction (SIGHUP, &sighup_action, 0); |
| 1705 | #endif | 1705 | #endif |
| 1706 | #endif /* HAVE_VFORK */ | 1706 | #endif /* HAVE_WORKING_VFORK */ |
| 1707 | /* Stop blocking signals in the parent. */ | 1707 | /* Stop blocking signals in the parent. */ |
| 1708 | sigprocmask (SIG_SETMASK, &procmask, 0); | 1708 | sigprocmask (SIG_SETMASK, &procmask, 0); |
| 1709 | #else /* !POSIX_SIGNALS */ | 1709 | #else /* !POSIX_SIGNALS */ |