aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index f23b8368f6d..dd892637726 100644
--- a/src/process.c
+++ b/src/process.c
@@ -118,10 +118,10 @@ Boston, MA 02110-1301, USA. */
118#include <sys/wait.h> 118#include <sys/wait.h>
119#endif 119#endif
120 120
121#include "lisp.h"
121#include "systime.h" 122#include "systime.h"
122#include "systty.h" 123#include "systty.h"
123 124
124#include "lisp.h"
125#include "window.h" 125#include "window.h"
126#include "buffer.h" 126#include "buffer.h"
127#include "charset.h" 127#include "charset.h"
@@ -187,7 +187,6 @@ extern Lisp_Object QCfilter;
187 187
188#include "syswait.h" 188#include "syswait.h"
189 189
190extern void set_waiting_for_input P_ ((EMACS_TIME *));
191extern char *get_operating_system_release (); 190extern char *get_operating_system_release ();
192 191
193#ifndef USE_CRT_DLL 192#ifndef USE_CRT_DLL
@@ -1793,6 +1792,12 @@ create_process (process, new_argv, current_dir)
1793#endif 1792#endif
1794 if (forkin < 0) 1793 if (forkin < 0)
1795 report_file_error ("Opening pty", Qnil); 1794 report_file_error ("Opening pty", Qnil);
1795#if defined (RTU) || defined (UNIPLUS) || defined (DONT_REOPEN_PTY)
1796 /* In the case that vfork is defined as fork, the parent process
1797 (Emacs) may send some data before the child process completes
1798 tty options setup. So we setup tty before forking. */
1799 child_setup_tty (forkout);
1800#endif /* RTU or UNIPLUS or DONT_REOPEN_PTY */
1796#else 1801#else
1797 forkin = forkout = -1; 1802 forkin = forkout = -1;
1798#endif /* not USG, or USG_SUBTTY_WORKS */ 1803#endif /* not USG, or USG_SUBTTY_WORKS */
@@ -2077,8 +2082,10 @@ create_process (process, new_argv, current_dir)
2077#endif /* SIGCHLD */ 2082#endif /* SIGCHLD */
2078#endif /* !POSIX_SIGNALS */ 2083#endif /* !POSIX_SIGNALS */
2079 2084
2085#if !defined (RTU) && !defined (UNIPLUS) && !defined (DONT_REOPEN_PTY)
2080 if (pty_flag) 2086 if (pty_flag)
2081 child_setup_tty (xforkout); 2087 child_setup_tty (xforkout);
2088#endif /* not RTU and not UNIPLUS and not DONT_REOPEN_PTY */
2082#ifdef WINDOWSNT 2089#ifdef WINDOWSNT
2083 pid = child_setup (xforkin, xforkout, xforkout, 2090 pid = child_setup (xforkin, xforkout, xforkout,
2084 new_argv, 1, current_dir); 2091 new_argv, 1, current_dir);