diff options
| author | Richard M. Stallman | 1994-04-24 03:06:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-24 03:06:55 +0000 |
| commit | 13a72104deedcf9a6e3ef2fdbe87d3f9d4c7963f (patch) | |
| tree | 846f475f7437b4657420bc93ba7574819f71a0e2 /src | |
| parent | 8a9e86e647840264f55a0f973fb6893fbc63c80e (diff) | |
| download | emacs-13a72104deedcf9a6e3ef2fdbe87d3f9d4c7963f.tar.gz emacs-13a72104deedcf9a6e3ef2fdbe87d3f9d4c7963f.zip | |
(create_process): Use SETUP_SLAVE_PTY only if pty_flag.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index c2b086e810d..c7262fc79e8 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1349,7 +1349,10 @@ create_process (process, new_argv, current_dir) | |||
| 1349 | } | 1349 | } |
| 1350 | #endif /* not UNIPLUS and not RTU */ | 1350 | #endif /* not UNIPLUS and not RTU */ |
| 1351 | #ifdef SETUP_SLAVE_PTY | 1351 | #ifdef SETUP_SLAVE_PTY |
| 1352 | SETUP_SLAVE_PTY; | 1352 | if (pty_flag) |
| 1353 | { | ||
| 1354 | SETUP_SLAVE_PTY; | ||
| 1355 | } | ||
| 1353 | #endif /* SETUP_SLAVE_PTY */ | 1356 | #endif /* SETUP_SLAVE_PTY */ |
| 1354 | #ifdef AIX | 1357 | #ifdef AIX |
| 1355 | /* On AIX, we've disabled SIGHUP above once we start a child on a pty. | 1358 | /* On AIX, we've disabled SIGHUP above once we start a child on a pty. |