* dtable.cc (dtable::set_file_pointers_for_exec): Reenable. Fix
comment. * spawn.cc (spawn_guts): Call cygheap->fdtab.set_file_pointers_for_exec only for non-Cygwin processes.
This commit is contained in:
@ -465,7 +465,8 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||
|
||||
cygbench ("spawn-guts");
|
||||
|
||||
cygheap->fdtab.set_file_pointers_for_exec ();
|
||||
if (!real_path.iscygexec())
|
||||
cygheap->fdtab.set_file_pointers_for_exec ();
|
||||
|
||||
moreinfo->envp = build_env (envp, envblock, moreinfo->envc, real_path.iscygexec ());
|
||||
if (!moreinfo->envp || !envblock)
|
||||
|
Reference in New Issue
Block a user