comparison src/process.c @ 90233:ee12d75eb214

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-85 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 556-561) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 122-124) - Update from CVS: lisp/mm-url.el (mm-url-decode-entities): Fix regexp. - Update from CVS
author Miles Bader <miles@gnu.org>
date Sun, 25 Sep 2005 22:07:01 +0000
parents 2d92f5c9d6ae 92275ace8eb5
children b1c1fc853d2f
comparison
equal deleted inserted replaced
90232:eab32348047a 90233:ee12d75eb214
1792 #else 1792 #else
1793 forkout = forkin = emacs_open (pty_name, O_RDWR, 0); 1793 forkout = forkin = emacs_open (pty_name, O_RDWR, 0);
1794 #endif 1794 #endif
1795 if (forkin < 0) 1795 if (forkin < 0)
1796 report_file_error ("Opening pty", Qnil); 1796 report_file_error ("Opening pty", Qnil);
1797 #if defined (RTU) || defined (UNIPLUS) || defined (DONT_REOPEN_PTY)
1798 /* In the case that vfork is defined as fork, the parent process
1799 (Emacs) may send some data before the child process completes
1800 tty options setup. So we setup tty before forking. */
1801 child_setup_tty (forkout);
1802 #endif /* RTU or UNIPLUS or DONT_REOPEN_PTY */
1797 #else 1803 #else
1798 forkin = forkout = -1; 1804 forkin = forkout = -1;
1799 #endif /* not USG, or USG_SUBTTY_WORKS */ 1805 #endif /* not USG, or USG_SUBTTY_WORKS */
1800 pty_flag = 1; 1806 pty_flag = 1;
1801 } 1807 }
2076 #endif /* ordinary USG */ 2082 #endif /* ordinary USG */
2077 #endif /* not BSD4_1 */ 2083 #endif /* not BSD4_1 */
2078 #endif /* SIGCHLD */ 2084 #endif /* SIGCHLD */
2079 #endif /* !POSIX_SIGNALS */ 2085 #endif /* !POSIX_SIGNALS */
2080 2086
2087 #if !defined (RTU) && !defined (UNIPLUS) && !defined (DONT_REOPEN_PTY)
2081 if (pty_flag) 2088 if (pty_flag)
2082 child_setup_tty (xforkout); 2089 child_setup_tty (xforkout);
2090 #endif /* not RTU and not UNIPLUS and not DONT_REOPEN_PTY */
2083 #ifdef WINDOWSNT 2091 #ifdef WINDOWSNT
2084 pid = child_setup (xforkin, xforkout, xforkout, 2092 pid = child_setup (xforkin, xforkout, xforkout,
2085 new_argv, 1, current_dir); 2093 new_argv, 1, current_dir);
2086 #else /* not WINDOWSNT */ 2094 #else /* not WINDOWSNT */
2087 child_setup (xforkin, xforkout, xforkout, 2095 child_setup (xforkin, xforkout, xforkout,