diff options
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r-- | gdb/fork-child.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c index cba91f9..3b8da49 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -272,9 +272,6 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env, argv[3] = (char *) 0; } - /* On some systems an exec will fail if the executable is open. */ - close_exec_file (); - /* Retain a copy of our environment variables, since the child will replace the value of environ and if we're vforked, we have to restore it. */ |