]> git.eshelyaron.com Git - emacs.git/commitdiff
(create_process): Clean up merger residues of 2008-07-17 change.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 29 Apr 2009 05:15:47 +0000 (05:15 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 29 Apr 2009 05:15:47 +0000 (05:15 +0000)
src/ChangeLog
src/process.c

index 691ce28ee93863efcd98ca8bce3cfdc26c5a589c..17b0a91a17f007ee975c0e65bce0322692bbaeee 100644 (file)
@@ -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.
index 3e06b4d5fdbf86fd3a4f5af11cdb0dc713a37cc9..635f44466df27199fa6fc6926ee20f45c0615a68 100644 (file)
@@ -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);