* hurd/hurdinline.c: Include signal.h first, so we don't define
authorRoland McGrath <roland@gnu.org>
Thu, 6 Apr 1995 00:37:26 +0000 (00:37 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 6 Apr 1995 00:37:26 +0000 (00:37 +0000)
  its inlines too.

* sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
  of -1 to avoid compiler warning.

* configure.in (host_os=linux*): Set elf=yes for this, not just
  linux*elf*.

ChangeLog
configure.in
hurd/hurdinline.c
sysdeps/unix/sysv/sysv4/sigset.h

index 82c406b..8fe4a0f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 Wed Apr  5 00:13:45 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+       * hurd/hurdinline.c: Include signal.h first, so we don't define
+       its inlines too.
+
+       * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
+       of -1 to avoid compiler warning.
+
+       * configure.in (host_os=linux*): Set elf=yes for this, not just
+       linux*elf*.
+
        * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
        and open.
 
index e6f044b..4ebe404 100644 (file)
@@ -246,7 +246,7 @@ gnu* | linux* | bsd4.4* | netbsd* | freebsd*)
   gnu_ld=yes gnu_as=yes
 esac
 case "$host_os" in
-gnu*elf* | linux*elf* | sysv4* | solaris2*)
+gnu*elf* | linux* | sysv4* | solaris2*)
   elf=yes
 esac
 
index 12a5be6..5d85c9e 100644 (file)
@@ -1,5 +1,6 @@
-/* Include this first to avoid defining its inline functions.  */
+/* Include these first to avoid defining their inline functions.  */
 #include <lock-intern.h>
+#include <signal.h>
 
 #undef _EXTERN_INLINE
 #define _EXTERN_INLINE /* Define the real function. */
index a007a43..b21b519 100644 (file)
@@ -1,5 +1,5 @@
 /* __sig_atomic_t, __sigset_t, and related definitions.  SVR4 version.
-Copyright (C) 1994 Free Software Foundation, Inc.
+Copyright (C) 1994, 1995 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -67,7 +67,7 @@ __sigfillset (__sigset_t *__set)
      for signals [1,31].  Setting bits for unimplemented signals seems
      harmless (and we will find out if it really is).  */
   __set->__sigbits[0] = __set->__sigbits[1] =
-    __set->__sigbits[2] = __set->__sigbits[3] = -1;
+    __set->__sigbits[2] = __set->__sigbits[3] = ~0L;
   return 0;
 }