Mercurial > emacs
comparison src/process.c @ 16220:02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 17 Sep 1996 03:43:54 +0000 |
parents | 4aba36944749 |
children | c1f19d8e5b80 |
comparison
equal
deleted
inserted
replaced
16219:7f3f182f20a3 | 16220:02044b05d8e0 |
---|---|
71 #else | 71 #else |
72 #define IN_ADDR unsigned long | 72 #define IN_ADDR unsigned long |
73 #define NUMERIC_ADDR_ERROR (numeric_addr == -1) | 73 #define NUMERIC_ADDR_ERROR (numeric_addr == -1) |
74 #endif | 74 #endif |
75 | 75 |
76 #if defined(BSD) || defined(STRIDE) | 76 #if defined(BSD_SYSTEM) || defined(STRIDE) |
77 #include <sys/ioctl.h> | 77 #include <sys/ioctl.h> |
78 #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) | 78 #if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5) |
79 #include <fcntl.h> | 79 #include <fcntl.h> |
80 #endif /* HAVE_PTYS and no O_NDELAY */ | 80 #endif /* HAVE_PTYS and no O_NDELAY */ |
81 #endif /* BSD or STRIDE */ | 81 #endif /* BSD_SYSTEM || STRIDE */ |
82 | 82 |
83 #ifdef BROKEN_O_NONBLOCK | 83 #ifdef BROKEN_O_NONBLOCK |
84 #undef O_NONBLOCK | 84 #undef O_NONBLOCK |
85 #endif /* BROKEN_O_NONBLOCK */ | 85 #endif /* BROKEN_O_NONBLOCK */ |
86 | 86 |
1332 #else /* !POSIX_SIGNALS */ | 1332 #else /* !POSIX_SIGNALS */ |
1333 #ifdef SIGCHLD | 1333 #ifdef SIGCHLD |
1334 #ifdef BSD4_1 | 1334 #ifdef BSD4_1 |
1335 sighold (SIGCHLD); | 1335 sighold (SIGCHLD); |
1336 #else /* not BSD4_1 */ | 1336 #else /* not BSD4_1 */ |
1337 #if defined (BSD) || defined (UNIPLUS) || defined (HPUX) | 1337 #if defined (BSD_SYSTEM) || defined (UNIPLUS) || defined (HPUX) |
1338 sigsetmask (sigmask (SIGCHLD)); | 1338 sigsetmask (sigmask (SIGCHLD)); |
1339 #else /* ordinary USG */ | 1339 #else /* ordinary USG */ |
1340 #if 0 | 1340 #if 0 |
1341 sigchld_deferred = 0; | 1341 sigchld_deferred = 0; |
1342 sigchld = signal (SIGCHLD, create_process_sigchld); | 1342 sigchld = signal (SIGCHLD, create_process_sigchld); |
1502 #else /* !POSIX_SIGNALS */ | 1502 #else /* !POSIX_SIGNALS */ |
1503 #ifdef SIGCHLD | 1503 #ifdef SIGCHLD |
1504 #ifdef BSD4_1 | 1504 #ifdef BSD4_1 |
1505 sigrelse (SIGCHLD); | 1505 sigrelse (SIGCHLD); |
1506 #else /* not BSD4_1 */ | 1506 #else /* not BSD4_1 */ |
1507 #if defined (BSD) || defined (UNIPLUS) || defined (HPUX) | 1507 #if defined (BSD_SYSTEM) || defined (UNIPLUS) || defined (HPUX) |
1508 sigsetmask (SIGEMPTYMASK); | 1508 sigsetmask (SIGEMPTYMASK); |
1509 #else /* ordinary USG */ | 1509 #else /* ordinary USG */ |
1510 #if 0 | 1510 #if 0 |
1511 signal (SIGCHLD, sigchld); | 1511 signal (SIGCHLD, sigchld); |
1512 #endif | 1512 #endif |
1583 #else /* !POSIX_SIGNALS */ | 1583 #else /* !POSIX_SIGNALS */ |
1584 #ifdef SIGCHLD | 1584 #ifdef SIGCHLD |
1585 #ifdef BSD4_1 | 1585 #ifdef BSD4_1 |
1586 sigrelse (SIGCHLD); | 1586 sigrelse (SIGCHLD); |
1587 #else /* not BSD4_1 */ | 1587 #else /* not BSD4_1 */ |
1588 #if defined (BSD) || defined (UNIPLUS) || defined (HPUX) | 1588 #if defined (BSD_SYSTEM) || defined (UNIPLUS) || defined (HPUX) |
1589 sigsetmask (SIGEMPTYMASK); | 1589 sigsetmask (SIGEMPTYMASK); |
1590 #else /* ordinary USG */ | 1590 #else /* ordinary USG */ |
1591 #if 0 | 1591 #if 0 |
1592 signal (SIGCHLD, sigchld); | 1592 signal (SIGCHLD, sigchld); |
1593 /* Now really handle any of these signals | 1593 /* Now really handle any of these signals |