A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Aleksey Bragin a04bcca3a3 Jeffrey Morlan <mrnobo1024@yahoo.com>
- Wrap libwine's memory allocations, avoiding msvcrt imports in kernel32
- The cause is that libwine/debug.c uses functions (malloc, free, realloc, _strdup) which are only present in a complete CRT, creating imports from msvcrt.dll in any module that uses it, including kernel32.dll. Since kernel32 is currently importing from msvcrt, kernel32 gets DLL_PROCESS_DETACHed first, creating a problem for msvcrt's DLL_PROCESS_DETACH which, as a result of a recent bugfix, now uses kernel32 functions that depend on the resources that were freed.
- Fix this by implementing those 4 functions as wrappers around the Local* APIs, in order to avoid the problematic imports.
See issue #3373 for more details.

svn path=/trunk/; revision=34037
2008-06-20 19:00:37 +00:00
irc - remove now unneeded files 2008-05-18 16:04:19 +00:00
reactos Jeffrey Morlan <mrnobo1024@yahoo.com> 2008-06-20 19:00:37 +00:00
rosapps Updated Winefile to Wine 1.0rc4. 2008-06-12 06:22:23 +00:00
rostests Don't forget to free the parent nodes 2008-06-20 11:39:31 +00:00
wallpaper Re-add the "lake.bmp" wallpaper inclusion (partly imported from the deleted 0.3.1 branch, r26044) 2007-06-21 15:23:49 +00:00