diff options
| author | Richard M. Stallman | 1998-03-12 06:59:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-03-12 06:59:25 +0000 |
| commit | 8828ae9b5e11e0be07716b24bb972243c62f8461 (patch) | |
| tree | 6670f7a02477ea6fbece58b4326c395a9d0928d1 /src | |
| parent | b0c2d1c671bba15b84aac569dda425d95217504a (diff) | |
| download | emacs-8828ae9b5e11e0be07716b24bb972243c62f8461.tar.gz emacs-8828ae9b5e11e0be07716b24bb972243c62f8461.zip | |
(SETUP_SLAVE_PTY): New definition.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/ptx4.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/s/ptx4.h b/src/s/ptx4.h index 3042c0a8d82..8f4db997708 100644 --- a/src/s/ptx4.h +++ b/src/s/ptx4.h | |||
| @@ -13,3 +13,12 @@ | |||
| 13 | /* Marcus Daniels <marcus@sysc.pdx.edu> says vfork does exist. */ | 13 | /* Marcus Daniels <marcus@sysc.pdx.edu> says vfork does exist. */ |
| 14 | #define HAVE_VFORK | 14 | #define HAVE_VFORK |
| 15 | 15 | ||
| 16 | /* pae@dim.com (Phil Ernhardt) says this correction to | ||
| 17 | the definition in usg5-4.h is needed to prevent | ||
| 18 | all asynchronous subprocesses from exiting right away. */ | ||
| 19 | #undef SETUP_SLAVE_PTY | ||
| 20 | #define SETUP_SLAVE_PTY \ | ||
| 21 | if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ | ||
| 22 | fatal ("ioctl I_PUSH ldterm", errno); \ | ||
| 23 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | ||
| 24 | fatal ("ioctl I_PUSH ttcompat", errno); | ||