From b07c5668f672125074dd5b0b658145e1544120be Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 Feb 1996 18:41:42 +0000 Subject: Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c --- sysdeps/mach/hurd/fork.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/mach/hurd/fork.c') 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, ()); -- cgit v1.1