diff options
| author | Richard M. Stallman | 1996-06-09 20:15:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-09 20:15:20 +0000 |
| commit | e9bf058bcefafbea5ebe3270f39097d4a8e7416e (patch) | |
| tree | 8d77b34cfac9a793b6e7a4ed4277beb5c23c3f68 /src | |
| parent | b68f1a63fe249a5f5dc182d869625971838ddbd9 (diff) | |
| download | emacs-e9bf058bcefafbea5ebe3270f39097d4a8e7416e.tar.gz emacs-e9bf058bcefafbea5ebe3270f39097d4a8e7416e.zip | |
(create_process): Add DONT_OPEN_PTY conditional.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 8e533784260..4446b2fdfea 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1436,7 +1436,7 @@ create_process (process, new_argv, current_dir) | |||
| 1436 | } | 1436 | } |
| 1437 | #endif /* TIOCNOTTY */ | 1437 | #endif /* TIOCNOTTY */ |
| 1438 | 1438 | ||
| 1439 | #if !defined (RTU) && !defined (UNIPLUS) | 1439 | #if !defined (RTU) && !defined (UNIPLUS) && !defined (DONT_REOPEN_PTY) |
| 1440 | /*** There is a suggestion that this ought to be a | 1440 | /*** There is a suggestion that this ought to be a |
| 1441 | conditional on TIOCSPGRP. */ | 1441 | conditional on TIOCSPGRP. */ |
| 1442 | /* Now close the pty (if we had it open) and reopen it. | 1442 | /* Now close the pty (if we had it open) and reopen it. |
| @@ -1465,7 +1465,8 @@ create_process (process, new_argv, current_dir) | |||
| 1465 | ioctl (xforkout, TIOCSPGRP, &pgrp); | 1465 | ioctl (xforkout, TIOCSPGRP, &pgrp); |
| 1466 | #endif | 1466 | #endif |
| 1467 | } | 1467 | } |
| 1468 | #endif /* not UNIPLUS and not RTU */ | 1468 | #endif /* not UNIPLUS and not RTU and not DONT_REOPEN_PTY */ |
| 1469 | |||
| 1469 | #ifdef SETUP_SLAVE_PTY | 1470 | #ifdef SETUP_SLAVE_PTY |
| 1470 | if (pty_flag) | 1471 | if (pty_flag) |
| 1471 | { | 1472 | { |