* spawn.cc (spawn_guts): Invert the argument to set_console_state_for_spawn.

This commit is contained in:
Christopher Faylor 2006-01-05 16:21:14 +00:00
parent 4c3faa85ce
commit c29df6c375
2 changed files with 6 additions and 2 deletions

View File

@ -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> 2006-01-04 Christopher Faylor <cgf@timesys.com>
* fhandler_console.cc (fhandler_console::need_invisible): Only try to * fhandler_console.cc (fhandler_console::need_invisible): Only try to

View File

@ -951,15 +951,14 @@ initialize_main_tls (char *padding)
extern "C" void __stdcall extern "C" void __stdcall
_dll_crt0 () _dll_crt0 ()
{ {
extern DWORD threadfunc_ix;
extern HANDLE sync_startup; extern HANDLE sync_startup;
extern DWORD threadfunc_ix;
if (sync_startup != INVALID_HANDLE_VALUE) if (sync_startup != INVALID_HANDLE_VALUE)
{ {
WaitForSingleObject (sync_startup, INFINITE); WaitForSingleObject (sync_startup, INFINITE);
CloseHandle (sync_startup); CloseHandle (sync_startup);
} }
sync_startup = NULL;
if (!threadfunc_ix) if (!threadfunc_ix)
system_printf ("internal error: couldn't determine location of thread function on stack. Expect signal problems."); system_printf ("internal error: couldn't determine location of thread function on stack. Expect signal problems.");