mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-01 20:45:37 +08:00
* 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:
parent
af32eb5e28
commit
25e5803d35
@ -1,3 +1,9 @@
|
|||||||
|
2012-09-13 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
|
* cygthread.cc (cygthread::stub): Remove old, unnecessary, FIXMEd code.
|
||||||
|
* spawn.cc (child_info_spawn::worker): Avoid calling close_all_files()
|
||||||
|
twice.
|
||||||
|
|
||||||
2012-09-02 Jin-woo Ye <jojelino@gmail.com>
|
2012-09-02 Jin-woo Ye <jojelino@gmail.com>
|
||||||
Corinna Vinschen <corinna@vinschen.de>
|
Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
@ -90,12 +90,6 @@ cygthread::stub (VOID *arg)
|
|||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (exiting)
|
|
||||||
{
|
|
||||||
info->inuse = false; // FIXME: Do we need this?
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
info->callfunc (false);
|
info->callfunc (false);
|
||||||
|
|
||||||
HANDLE notify = info->notify_detached;
|
HANDLE notify = info->notify_detached;
|
||||||
|
@ -24,3 +24,7 @@ Bug fixes:
|
|||||||
|
|
||||||
- Prefer to call WSARecvMsg from recvmsg if possible.
|
- Prefer to call WSARecvMsg from recvmsg if possible.
|
||||||
Fixes: http://cygwin.com/ml/cygwin/2012-07/msg00662.html
|
Fixes: http://cygwin.com/ml/cygwin/2012-07/msg00662.html
|
||||||
|
|
||||||
|
- Correct hang typified by running "procps" after Cygwin has started a
|
||||||
|
Windows process.
|
||||||
|
Fixes: http://cygwin.com/ml/cygwin/2012-05/threads.html#00349
|
||||||
|
@ -867,6 +867,7 @@ loop:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (iscygwin ())
|
||||||
close_all_files (true);
|
close_all_files (true);
|
||||||
if (!my_wr_proc_pipe
|
if (!my_wr_proc_pipe
|
||||||
&& WaitForSingleObject (pi.hProcess, 0) == WAIT_TIMEOUT)
|
&& WaitForSingleObject (pi.hProcess, 0) == WAIT_TIMEOUT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user