diff options
author | Christopher Faylor <me@cgf.cx> | 2006-06-03 06:35:10 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-06-03 06:35:10 +0000 |
commit | 578e142a2be9dcca7f64c54e6ae8cecd01e6ac71 (patch) | |
tree | 502eec3c3b0813817d77c24beca92c90f25e23ff /winsup/cygwin/dcrt0.cc | |
parent | 6210ee96ec5e436ad937e064f527b9a53276e4bf (diff) | |
download | cygnal-578e142a2be9dcca7f64c54e6ae8cecd01e6ac71.tar.gz cygnal-578e142a2be9dcca7f64c54e6ae8cecd01e6ac71.tar.bz2 cygnal-578e142a2be9dcca7f64c54e6ae8cecd01e6ac71.zip |
* cygheap.cc (init_cygheap::close_ctty): Remove obsolete code.
* dcrt0.cc (child_info_spawn::handle_spawn): Signal ready after we've run
fixup_after_exec.
* dtable.cc (dtable::fixup_after_exec): Add debugging output.
* fhandler_tty.cc (fhandler_pty_master::doecho): Use class version of
to_master.
(fhandler_tty_common::close): Remove obsolete code.
(fhandler_tty_slave::fixup_after_exec): Don't close, since this is done in
dtable's fixup_after_exec. (revisit later?)
(fhandler_pty_master::fixup_after_exec): Ditto.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 59f451a62..0228c3275 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -685,13 +685,13 @@ child_info_spawn::handle_spawn () FALSE, DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE)) h = NULL; set_myself (h); - ready (true); __argc = moreinfo->argc; __argv = moreinfo->argv; envp = moreinfo->envp; envc = moreinfo->envc; if (!dynamically_loaded) cygheap->fdtab.fixup_after_exec (); + ready (true); /* Need to do this after debug_fixup_after_fork_exec or DEBUGGING handling of handles might get confused. */ |