From: Karl Heuer Date: Fri, 18 Mar 1994 00:23:47 +0000 (+0000) Subject: (create_process): Skip the ioctl if fd is -1. X-Git-Tag: emacs-19.34~9459 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff773a4e166e0b84f4a34135321d6bd35e07943e;p=emacs.git (create_process): Skip the ioctl if fd is -1. --- diff --git a/src/process.c b/src/process.c index 6e9da96bf07..8db5209620d 100644 --- a/src/process.c +++ b/src/process.c @@ -1275,7 +1275,7 @@ create_process (process, new_argv, current_dir) #endif /* USG */ #endif /* not HAVE_SETSID */ #ifdef NTTYDISC - if (pty_flag) + if (pty_flag && xforkin >= 0) { /* Use new line discipline. */ int ldisc = NTTYDISC;