+2002-08-29 Richard M. Stallman <rms@gnu.org>
+
+ * sysdep.c [!VMS]: Include sys/file.h.
+ (sys_signal): Test BROKEN_SA_RESTART.
+
+ * s/hpux11.h (USG_SUBTTY_WORKS): Defined.
+ (BROKEN_SA_RESTART): Defined.
+
+ * process.c (create_process): Test USG_SUBTTY_WORKS.
+
2002-08-27 Kenichi Handa <handa@etl.go.jp>
* xdisp.c (get_next_display_element): In unibyte case, don't use
* window.c (Fset_window_hscroll): Doc fix.
->>>>>>> 1.1914.2.171
2002-05-31 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P.
if (inchannel >= 0)
{
-#ifndef USG
- /* On USG systems it does not work to open the pty's tty here
- and then close and reopen it in the child. */
+#if ! defined (USG) || defined (USG_SUBTTY_WORKS)
+ /* On most USG systems it does not work to open the pty's tty here,
+ then close it and reopen it in the child. */
#ifdef O_NOCTTY
/* Don't let this terminal become our controlling terminal
(in case we don't have one). */
report_file_error ("Opening pty", Qnil);
#else
forkin = forkout = -1;
-#endif /* not USG */
+#endif /* not USG, or USG_SUBTTY_WORKS */
pty_flag = 1;
}
else