* 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*.
This commit is contained in:
Roland McGrath 1995-04-06 00:37:26 +00:00
parent c0fef53b1e
commit e627021e1b
4 changed files with 14 additions and 4 deletions

View File

@ -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.

View 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

View 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. */

View 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;
}