From 4fb907b74125ddcfc6a6f06c999c1d3488061218 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 21 Jul 2004 23:14:58 +0000 Subject: [PATCH] * Makefile ($(objpfx)multidir.mk): Use $(make-target-directory). --- linuxthreads/ChangeLog | 4 ++++ nptl/ChangeLog | 8 ++++++++ nptl/tst-cancel4.c | 7 +++++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index df63d6bc93..2fa486a502 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2004-07-21 Roland McGrath + + * Makefile ($(objpfx)multidir.mk): Use $(make-target-directory). + 2004-07-02 Roland McGrath * configure: Don't exit. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 44af273384..b24fde12a7 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,11 @@ +2004-07-21 Roland McGrath + + * Makefile ($(objpfx)multidir.mk): Use $(make-target-directory). + +2004-07-19 Roland McGrath + + * tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available. + 2004-07-02 Roland McGrath * configure: Don't exit. diff --git a/nptl/tst-cancel4.c b/nptl/tst-cancel4.c index 87000fa6a4..8dc8aec0af 100644 --- a/nptl/tst-cancel4.c +++ b/nptl/tst-cancel4.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2002. @@ -673,8 +673,11 @@ tf_waitid (void *arg) int s; pthread_cleanup_push (cl, NULL); +#ifndef WEXITED +# define WEXITED 0 +#endif siginfo_t si; - s = waitid (P_PID, pid, &si, 0); + s = waitid (P_PID, pid, &si, WEXITED); pthread_cleanup_pop (0); -- 2.11.4.GIT