From 9d141cae00c957096045d08fe504b4a2be66ab75 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 13 Aug 1998 19:44:05 +0000 Subject: Update. 1998-08-13 19:41 Ulrich Drepper * 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 * 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 * 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 * elf/Makefile (distribute): Add sln.c 1998-07-21 07:10 H.J. Lu * 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. --- sysdeps/posix/sigset.c | 2 ++ sysdeps/posix/wait3.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'sysdeps') 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) -- cgit 1.4.1