diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fork.cc | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 408df09..b1fd664 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2009-06-08 Corinna Vinschen <corinna@vinschen.de> + * fork.cc (frok::parent): Remove ancient code erroneously flushing + stdout descriptor. + +2009-06-08 Corinna Vinschen <corinna@vinschen.de> + * cygerrno.h (save_errno::~save_errno): Set errno directly to avoid flooding debug output. diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index 3692a7a..6911da5 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -307,10 +307,6 @@ frok::parent (volatile char * volatile stack_here) in the parent and, when the stack is copied, in the child. */ load_dlls = dlls.reload_on_fork && dlls.loaded_dlls; - /* This will help some of the confusion. */ - /* FIXME: Is this really appropriate? What if stdout is closed? */ - fflush (stdout); - forker_finished = CreateEvent (&sec_all, FALSE, FALSE, NULL); if (forker_finished == NULL) { |