Skip to content

Commit

Permalink
* hurd/hurdinline.c: Include signal.h first, so we don't define
Browse files Browse the repository at this point in the history
 	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*.
  • Loading branch information
Roland McGrath committed Apr 6, 1995
1 parent c0fef53 commit e627021
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion hurd/hurdinline.c
Original file line number Diff line number Diff line change
@@ -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. */
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/sysv4/sigset.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit e627021

Please sign in to comment.