aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-cancel21.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-cancel21.c')
-rw-r--r--nptl/tst-cancel21.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/tst-cancel21.c b/nptl/tst-cancel21.c
index c40d87b..cc00cc1 100644
--- a/nptl/tst-cancel21.c
+++ b/nptl/tst-cancel21.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
@@ -162,6 +162,8 @@ tf (void *arg)
static int
do_one_test (void)
{
+ in_sh_body = 0;
+
pid_t pid = fork ();
if (pid == -1)