]> git.eshelyaron.com Git - emacs.git/commitdiff
Use SIGCHLD, not SIGCLD (not in glibc 2.1).
authorDave Love <fx@gnu.org>
Tue, 2 Nov 1999 23:10:56 +0000 (23:10 +0000)
committerDave Love <fx@gnu.org>
Tue, 2 Nov 1999 23:10:56 +0000 (23:10 +0000)
src/ChangeLog
src/s/gnu-linux.h

index 94d9be178da755826c54bebb7541937cf0f154bb..e025345d471f8c3d86c8a6f79b9fa793182aaf9f 100644 (file)
@@ -1,5 +1,7 @@
 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.
 
index f5419a6e3af8fca4475230e92d8d611592d1aeda..86fc78b8b0f02bc6d209d9cdd245bf7663211eb7 100644 (file)
@@ -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)))             \