Commit 7e3386cb authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu

(create_process): Clean up merger residues of 2008-07-17 change.

parent 753bc4f6
......@@ -4,6 +4,9 @@
* keyboard.c (init_keyboard) [POLL_FOR_INPUT]: Reset poll_timer.
* process.c (create_process): Clean up merger residues of
2008-07-17 change.
2009-04-29 Ulrich Mueller <ulm@gentoo.org>
* lread.c (Vread_circle): New variable.
......
......@@ -1875,12 +1875,6 @@ create_process (process, new_argv, current_dir)
#endif
if (forkin < 0)
report_file_error ("Opening pty", Qnil);
#if defined (DONT_REOPEN_PTY)
/* In the case that vfork is defined as fork, the parent process
(Emacs) may send some data before the child process completes
tty options setup. So we setup tty before forking. */
child_setup_tty (forkout);
#endif /* DONT_REOPEN_PTY */
#else
forkin = forkout = -1;
#endif /* not USG, or USG_SUBTTY_WORKS */
......@@ -2151,10 +2145,8 @@ create_process (process, new_argv, current_dir)
#endif /* SIGCHLD */
#endif /* !POSIX_SIGNALS */
#if !defined (DONT_REOPEN_PTY)
if (pty_flag)
child_setup_tty (xforkout);
#endif /* not DONT_REOPEN_PTY */
#ifdef WINDOWSNT
pid = child_setup (xforkin, xforkout, xforkout,
new_argv, 1, current_dir);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment