about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--configure.in2
-rw-r--r--hurd/hurdinline.c3
-rw-r--r--sysdeps/unix/sysv/sysv4/sigset.h4
4 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 82c406b44a..8fe4a0f4fe 100644
--- 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.
 
diff --git a/configure.in b/configure.in
index e6f044bc69..4ebe404b8b 100644
--- a/configure.in
+++ b/configure.in
@@ -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
 
diff --git a/hurd/hurdinline.c b/hurd/hurdinline.c
index 12a5be6508..5d85c9e4f0 100644
--- a/hurd/hurdinline.c
+++ b/hurd/hurdinline.c
@@ -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. */
diff --git a/sysdeps/unix/sysv/sysv4/sigset.h b/sysdeps/unix/sysv/sysv4/sigset.h
index a007a43470..b21b519fc9 100644
--- a/sysdeps/unix/sysv/sysv4/sigset.h
+++ b/sysdeps/unix/sysv/sysv4/sigset.h
@@ -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;
 }