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
2008-05-18 16:04:19 +00:00
2008-06-12 06:22:23 +00:00
Description
A free Windows-compatible Operating System 免费的Windows兼容操作系统
1.2 GiB
Languages
C 86.6%
C++ 10.6%
Python 0.7%
Assembly 0.5%
CMake 0.5%
Other 0.8%