Fix regression in msvcrt

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


The following patch introduced a regression in msvcrt :

URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=9a583763eefb7cec46e0b4b031cf71d6b5d2a5ae

Author: Marcus Meissner <marcus at jet.franken.de>
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.

Maxime

Changelog:
	* 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20051223/2ad7bfe8/main.patch


More information about the wine-patches mailing list