aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-02-02 18:41:42 +0000
committerRoland McGrath <roland@gnu.org>1996-02-02 18:41:42 +0000
commitb07c5668f672125074dd5b0b658145e1544120be (patch)
tree5b88eee61a21fd4550a4f77233741d42f736034f /sysdeps
parent54139447380b1434bf8bbe788a61523f115345f4 (diff)
downloadglibc-b07c5668f672125074dd5b0b658145e1544120be.zip
glibc-b07c5668f672125074dd5b0b658145e1544120be.tar.gz
glibc-b07c5668f672125074dd5b0b658145e1544120be.tar.bz2
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/fork.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/fork.c b/sysdeps/mach/hurd/fork.c
index 6fadb3d..8c6ef12 100644
--- a/sysdeps/mach/hurd/fork.c
+++ b/sysdeps/mach/hurd/fork.c
@@ -596,6 +596,9 @@ __fork (void)
err = __USEPORT (PROC, __proc_getpids (port, &_hurd_pid, &_hurd_ppid,
&_hurd_orphaned));
+ /* Forking clears the trace flag. */
+ _hurd_exec_flags &= ~EXEC_TRACED;
+
/* Run things that want to run in the child task to set up. */
RUN_HOOK (_hurd_fork_child_hook, ());