summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-02 02:36:50 +0000
committerChristopher Faylor <me@cgf.cx>2005-06-02 02:36:50 +0000
commitf9fb1149d5b1c0c15f9a554677019dbc5426ed83 (patch)
tree8fe8ccb9c158b20d4bd15d17bd741b00921c2a32 /winsup/cygwin/dcrt0.cc
parent5ac6edefaf90729f8da0b872f89b146242d0946e (diff)
downloadcygnal-f9fb1149d5b1c0c15f9a554677019dbc5426ed83.tar.gz
cygnal-f9fb1149d5b1c0c15f9a554677019dbc5426ed83.tar.bz2
cygnal-f9fb1149d5b1c0c15f9a554677019dbc5426ed83.zip
Revert 2005-05-30 close_all_files changes.
* spawn.cc (spawn_guts): When execing, close all files after the child has synced with us.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index fa407d407..4f643ae1e 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1030,7 +1030,7 @@ do_exit (int status)
if (exit_state < ES_CLOSEALL)
{
exit_state = ES_CLOSEALL;
- close_all_files (false);
+ close_all_files ();
}
if (exit_state < ES_SIGPROCTERMINATE)