From: Dave Love Date: Tue, 2 Nov 1999 23:10:56 +0000 (+0000) Subject: Use SIGCHLD, not SIGCLD (not in glibc 2.1). X-Git-Tag: emacs-pretest-21.0.90~6201 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e69dcd60c507eabc517f8c4c6d10a6e7b52bda65;p=emacs.git Use SIGCHLD, not SIGCLD (not in glibc 2.1). --- diff --git a/src/ChangeLog b/src/ChangeLog index 94d9be178da..e025345d471 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 1999-11-02 Dave Love + * 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. diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index f5419a6e3af..86fc78b8b0f 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -77,14 +77,15 @@ Boston, MA 02111-1307, USA. */ #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))) \