diff options
author | Christopher Faylor <me@cgf.cx> | 2006-01-05 16:21:14 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-01-05 16:21:14 +0000 |
commit | c29df6c37535e0febb33bd2343c4693125cc3e04 (patch) | |
tree | 1b8c402f01b2174feb8eec99841de16ced9482b3 | |
parent | 4c3faa85cef1d76b90ec014172b014494f76248c (diff) | |
download | newlib-c29df6c37535e0febb33bd2343c4693125cc3e04.zip newlib-c29df6c37535e0febb33bd2343c4693125cc3e04.tar.gz newlib-c29df6c37535e0febb33bd2343c4693125cc3e04.tar.bz2 |
* spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c4d349f..ee44a4d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-01-05 Igor Peshansky <pechtcha@cs.nyu.edu> + + * spawn.cc (spawn_guts): Invert the argument to + set_console_state_for_spawn. + 2006-01-04 Christopher Faylor <cgf@timesys.com> * fhandler_console.cc (fhandler_console::need_invisible): Only try to diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index bfb671a..b786dbf 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -951,15 +951,14 @@ initialize_main_tls (char *padding) extern "C" void __stdcall _dll_crt0 () { - extern DWORD threadfunc_ix; extern HANDLE sync_startup; + extern DWORD threadfunc_ix; if (sync_startup != INVALID_HANDLE_VALUE) { WaitForSingleObject (sync_startup, INFINITE); CloseHandle (sync_startup); } - sync_startup = NULL; if (!threadfunc_ix) system_printf ("internal error: couldn't determine location of thread function on stack. Expect signal problems."); |