From: Richard M. Stallman Date: Sun, 24 Apr 1994 03:06:55 +0000 (+0000) Subject: (create_process): Use SETUP_SLAVE_PTY only if pty_flag. X-Git-Tag: emacs-19.34~8795 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13a72104deedcf9a6e3ef2fdbe87d3f9d4c7963f;p=emacs.git (create_process): Use SETUP_SLAVE_PTY only if pty_flag. --- 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) } #endif /* not UNIPLUS and not RTU */ #ifdef SETUP_SLAVE_PTY - SETUP_SLAVE_PTY; + if (pty_flag) + { + SETUP_SLAVE_PTY; + } #endif /* SETUP_SLAVE_PTY */ #ifdef AIX /* On AIX, we've disabled SIGHUP above once we start a child on a pty.