diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index b405f1ef690..c2fe343ee2d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2317,12 +2317,12 @@ create_pty (process) | |||
| 2317 | #endif | 2317 | #endif |
| 2318 | if (forkin < 0) | 2318 | if (forkin < 0) |
| 2319 | report_file_error ("Opening pty", Qnil); | 2319 | report_file_error ("Opening pty", Qnil); |
| 2320 | #if defined (RTU) || defined (UNIPLUS) || defined (DONT_REOPEN_PTY) | 2320 | #if defined (DONT_REOPEN_PTY) |
| 2321 | /* In the case that vfork is defined as fork, the parent process | 2321 | /* In the case that vfork is defined as fork, the parent process |
| 2322 | (Emacs) may send some data before the child process completes | 2322 | (Emacs) may send some data before the child process completes |
| 2323 | tty options setup. So we setup tty before forking. */ | 2323 | tty options setup. So we setup tty before forking. */ |
| 2324 | child_setup_tty (forkout); | 2324 | child_setup_tty (forkout); |
| 2325 | #endif /* RTU or UNIPLUS or DONT_REOPEN_PTY */ | 2325 | #endif /* DONT_REOPEN_PTY */ |
| 2326 | #else | 2326 | #else |
| 2327 | forkin = forkout = -1; | 2327 | forkin = forkout = -1; |
| 2328 | #endif /* not USG, or USG_SUBTTY_WORKS */ | 2328 | #endif /* not USG, or USG_SUBTTY_WORKS */ |