]> code.delx.au - gnu-emacs/blob - src/s/ptx4.h
(url-http-parse-headers): Don't reuse connection if "Connection: close" header
[gnu-emacs] / src / s / ptx4.h
1 /* s/ file for Sequent "ptx 4", which is a modified SVR5.4. */
2
3 /* Tell usg5-4.h not to include filio.h. */
4 #define NO_FILIO_H
5
6 #include "usg5-4.h"
7
8 /* Marcus Daniels <marcus@sysc.pdx.edu> says that SIGINFO is defined
9 on ptx4 but it is not a signal. Prevent process.c from doing the
10 wrong thing. */
11 #define BROKEN_SIGINFO
12
13 /* pae@dim.com (Phil Ernhardt) says this correction to
14 the definition in usg5-4.h is needed to prevent
15 all asynchronous subprocesses from exiting right away. */
16
17 /* James Youngman <jay@gnu.org> found that on "DYNIX/ptx ARNIE 4.0
18 * V4.4.2 i386", the push of the ttcompat module would fail. It seems
19 * that PTX 4.4.2 doesn't have that module, so if the push fails we
20 * don't kill ourselves. While this version lacks ttcompat, it also
21 * has ptem, but the manual page for ptem indicates that it should
22 * be pushed onto the slave side before the line discipline module.
23 * See also the streampty manual page, if you're curious (and have
24 * a ptx system).
25 */
26
27 /* rms: I hope that older versions which do have ttcompat
28 will not get confused by the code to use ptem. */
29
30 #undef SETUP_SLAVE_PTY
31 #define SETUP_SLAVE_PTY \
32 if (ioctl (xforkin, I_PUSH, "ptem") == -1 && errno != EINVAL) \
33 fatal ("ioctl I_PUSH ptem", errno); \
34 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \
35 fatal ("ioctl I_PUSH ldterm", errno); \
36 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1 && errno != EINVAL) \
37 fatal ("ioctl I_PUSH ttcompat", errno);
38
39 /* arch-tag: 14621824-8dca-432b-a97a-049fc4ce0e9f
40 (do not change this comment) */