aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-06 00:37:26 +0000
committerRoland McGrath <roland@gnu.org>1995-04-06 00:37:26 +0000
commite627021e1b0820de765e0e1d09aa2019539d5bbe (patch)
tree8357dc0d5369480b14f621b143efec8a3b47bc43 /sysdeps/unix
parentc0fef53b1e038a29ea57825af88fceeebdab874e (diff)
downloadglibc-e627021e1b0820de765e0e1d09aa2019539d5bbe.zip
glibc-e627021e1b0820de765e0e1d09aa2019539d5bbe.tar.gz
glibc-e627021e1b0820de765e0e1d09aa2019539d5bbe.tar.bz2
* 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*.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/sysv4/sigset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/sysv4/sigset.h b/sysdeps/unix/sysv/sysv4/sigset.h
index a007a43..b21b519 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;
}