Mercurial > emacs
changeset 7059:6a55de48ade5
(create_process): Use child_setup_tty only if pty_flag.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 Apr 1994 03:10:24 +0000 |
parents | 1855e568a9b8 |
children | 58d613f69b39 |
files | src/process.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Sun Apr 24 03:06:55 1994 +0000 +++ b/src/process.c Sun Apr 24 03:10:24 1994 +0000 @@ -1376,7 +1376,8 @@ #endif /* not BSD4_1 */ #endif /* SIGCHLD */ - child_setup_tty (xforkout); + if (pty_flag) + child_setup_tty (xforkout); child_setup (xforkin, xforkout, xforkout, new_argv, 1, current_dir); }