aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-13 19:44:05 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-13 19:44:05 +0000
commit9d141cae00c957096045d08fe504b4a2be66ab75 (patch)
tree479eb1c5e008066fb02734e7b763f255a8407768 /sysdeps/posix
parent1f539fd1dc223141f6c3bce738b4654d6220fcef (diff)
downloadglibc-9d141cae00c957096045d08fe504b4a2be66ab75.tar
glibc-9d141cae00c957096045d08fe504b4a2be66ab75.tar.gz
glibc-9d141cae00c957096045d08fe504b4a2be66ab75.tar.bz2
glibc-9d141cae00c957096045d08fe504b4a2be66ab75.zip
Update.
1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com> * posix/getconf.c: Add support for systems with incomplete confname.h. * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined. * sysdeps/posix/wait3.c: Make it work. 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * Makefile ($(inst_slibdir)/libc-$(version).so): Remove. (elf/ldso_install): Remove. * elf/Makefile (distribute): Add sln.c. (others): Add sln. (others-static): Add sln. (install-rootsbin): Add sln. (others-static): Add sln. (ldso_install): Remove. 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makerules (install-clean-symbolic-link-list): Make phony. * Makefile (install-symbolic-link): Make phony. Depend on subdir_install for parallel makes. 1998-07-22 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile (distribute): Add sln.c 1998-07-21 07:10 H.J. Lu <hjl@gnu.org> * elf/sln.c: New file. * Makerules (symbolic-link-prog, symbolic-link-list): New macros. (install-clean-symbolic-link-list): New target. (install): Depend on install-clean-symbolic-link-list. (make-shlib-link): Changed for $(symbolic-link-list). * Makefile (install-symbolic-link): New target. (install): Depend on install-symbolic-link.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/sigset.c2
-rw-r--r--sysdeps/posix/wait3.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/posix/sigset.c b/sysdeps/posix/sigset.c
index 1a6b1a4fd3..52da0f3060 100644
--- a/sysdeps/posix/sigset.c
+++ b/sysdeps/posix/sigset.c
@@ -30,6 +30,7 @@ sigset (sig, disp)
{
struct sigaction act, oact;
+#ifdef SIG_HOLD
/* Handle SIG_HOLD first. */
if (disp == SIG_HOLD)
{
@@ -49,6 +50,7 @@ sigset (sig, disp)
return SIG_HOLD;
}
+#endif /* SIG_HOLD */
/* Check signal extents to protect __sigismember. */
if (disp == SIG_ERR || sig < 1 || sig >= NSIG)
diff --git a/sysdeps/posix/wait3.c b/sysdeps/posix/wait3.c
index 61d1237cd1..261754251f 100644
--- a/sysdeps/posix/wait3.c
+++ b/sysdeps/posix/wait3.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 93, 95, 96, 97, 98 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
@@ -28,7 +28,7 @@
children; otherwise don't. */
pid_t
__wait3 (stat_loc, options, usage)
- __WAIT_STATUS_DEFN stat_loc;
+ __WAIT_STATUS stat_loc;
int options;
struct rusage *usage;
{
@@ -37,7 +37,7 @@ __wait3 (stat_loc, options, usage)
__set_errno (ENOSYS);
return (pid_t) -1;
}
- return __waitpid (WAIT_ANY, stat_loc, options);
+ return __waitpid (WAIT_ANY, stat_loc.__iptr, options);
}
weak_alias (__wait3, wait3)