* cygthread.cc (cygthread::stub): Remove old, unnecessary, FIXMEd code.

* spawn.cc (child_info_spawn::worker): Avoid calling close_all_files() twice.
This commit is contained in:
Christopher Faylor
2012-09-14 03:32:52 +00:00
parent af32eb5e28
commit 25e5803d35
4 changed files with 12 additions and 7 deletions

View File

@@ -867,7 +867,8 @@ loop:
}
else
{
close_all_files (true);
if (iscygwin ())
close_all_files (true);
if (!my_wr_proc_pipe
&& WaitForSingleObject (pi.hProcess, 0) == WAIT_TIMEOUT)
wait_for_myself ();