Fix regression in msvcrt

Maxime Bellengé maxime.bellenge at
Fri Dec 23 05:39:32 CST 2005

The following patch introduced a regression in msvcrt :


Author: Marcus Meissner <marcus at>
Date:   Wed Dec 21 20:23:47 2005 +0100

msvcrt: Implemented wctime(), wasctime(). 
Free thread data in DLL_THREAD_DETACH.

tls may be null actually. Without this patch, many applications crashes for me. The attached patch fixes it.


	* Prevent a crash if TlsGetValue returns NULL in DLL_THREAD_DETACH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
Url :

More information about the wine-patches mailing list