1999-11-02 Dave Love <fx@gnu.org>
+ * gnu-linux.h: Use SIGCHLD, not SIGCLD (not in glibc 2.1).
+
* process.c: Define _GNU_SOURCE before config.h to get strsignal
declared with glibc2.
#define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx");
#undef PTY_TTY_NAME_SPRINTF
+/* This used to use SIGCLD, but that doesn't appear in glibc 2.1. */
#define PTY_TTY_NAME_SPRINTF \
{ \
char *ptsname (), *ptyname; \
\
- sigblock (sigmask (SIGCLD)); \
+ sigblock (sigmask (SIGCHLD)); \
if (grantpt (fd) == -1) \
{ close (fd); return -1; } \
- sigunblock (sigmask (SIGCLD)); \
+ sigunblock (sigmask (SIGCHLD)); \
if (unlockpt (fd) == -1) \
{ close (fd); return -1; } \
if (!(ptyname = ptsname (fd))) \