From bdb04f922004ff8433591f138e40c09722836c45 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 Dec 2002 08:25:05 +0000 Subject: Update. * scripts/output-format.sed: Fix bug in one of the s expressions which used / for one too many things. --- nptl/pt-waitid.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'nptl/pt-waitid.c') diff --git a/nptl/pt-waitid.c b/nptl/pt-waitid.c index 977e5d4b77..ee8633cf49 100644 --- a/nptl/pt-waitid.c +++ b/nptl/pt-waitid.c @@ -27,12 +27,9 @@ int waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) { - int oldtype; - int result; + int oldtype = CANCEL_ASYNC (); - CANCEL_ASYNC (oldtype); - - result = __waitid (idtype, id, infop, options); + int result = __waitid (idtype, id, infop, options); CANCEL_RESET (oldtype); -- cgit v1.2.3