* fork.cc (frok::parent): Remove ancient code erroneously flushing
stdout descriptor.
This commit is contained in:
parent
c84bbb2d8f
commit
3b80aa0156
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2009-06-08 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygerrno.h (save_errno::~save_errno): Set errno directly to avoid
|
* cygerrno.h (save_errno::~save_errno): Set errno directly to avoid
|
||||||
|
@ -307,10 +307,6 @@ frok::parent (volatile char * volatile stack_here)
|
|||||||
in the parent and, when the stack is copied, in the child. */
|
in the parent and, when the stack is copied, in the child. */
|
||||||
load_dlls = dlls.reload_on_fork && dlls.loaded_dlls;
|
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);
|
forker_finished = CreateEvent (&sec_all, FALSE, FALSE, NULL);
|
||||||
if (forker_finished == NULL)
|
if (forker_finished == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user