* debug.cc (thread_stub): Use impure_ptr in place of reent_data.

* dll_init.cc (dll_dllcrt0): Replace erroneous use of local symbol with correct
__cygwin_user_data->impure_ptr.
This commit is contained in:
Christopher Faylor
2000-07-12 04:49:07 +00:00
parent a0f7b496ad
commit 5f9316981a
3 changed files with 9 additions and 18 deletions

View File

@@ -87,7 +87,7 @@ thread_stub (VOID *arg)
SIGSEGV or SIGFPE. */
init_exceptions (&except_entry);
set_reent (&reent_data);
set_reent (user_data->impure_ptr);
ExitThread (threadfunc (threadarg));
}