* init.cc (dll_entry): Use better check for determining when to set thread
specific stuff. * syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE succeeds, if file still exists.
This commit is contained in:
parent
11f5b06579
commit
fbf23e34c5
|
@ -1,3 +1,10 @@
|
||||||
|
Sun Apr 16 18:54:21 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* init.cc (dll_entry): Use better check for determining when to set
|
||||||
|
thread specific stuff.
|
||||||
|
* syscalls.cc (_unlink): Continue with chmod'ing file even if
|
||||||
|
DELETE_ON_CLOSE succeeds, if file still exists.
|
||||||
|
|
||||||
Fri Apr 14 23:51:15 2000 Christopher Faylor <cgf@cygnus.com>
|
Fri Apr 14 23:51:15 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* fhandler_console.cc (keytable): Add support for keypad 5 key, which
|
* fhandler_console.cc (keytable): Add support for keypad 5 key, which
|
||||||
|
|
|
@ -26,7 +26,7 @@ WINAPI dll_entry (HANDLE h, DWORD reason, void *static_load)
|
||||||
dynamically_loaded = (static_load == NULL);
|
dynamically_loaded = (static_load == NULL);
|
||||||
break;
|
break;
|
||||||
case DLL_THREAD_ATTACH:
|
case DLL_THREAD_ATTACH:
|
||||||
if (user_data->initial_sp)
|
if (user_data->threadinterface)
|
||||||
{
|
{
|
||||||
if ( !TlsSetValue(user_data->threadinterface->reent_index,
|
if ( !TlsSetValue(user_data->threadinterface->reent_index,
|
||||||
&user_data->threadinterface->reents))
|
&user_data->threadinterface->reents))
|
||||||
|
|
|
@ -91,8 +91,11 @@ _unlink (const char *ourname)
|
||||||
{
|
{
|
||||||
CloseHandle (h);
|
CloseHandle (h);
|
||||||
syscall_printf ("CreateFile/CloseHandle succeeded");
|
syscall_printf ("CreateFile/CloseHandle succeeded");
|
||||||
res = 0;
|
if (i > 0 || GetFileAttributes (win32_name) == (DWORD) -1)
|
||||||
break;
|
{
|
||||||
|
res = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
|
|
Loading…
Reference in New Issue