[MSVCRT] Add stub for _CrtCheckMemory
Lionel Ulmer
lionel.ulmer at free.fr
Fri Jun 11 15:36:40 CDT 2004
As reported on IRC....
Lionel
Changelog:
- add stub for _CrtCheckMemory
--
Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
Index: dlls/msvcrtd/debug.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrtd/debug.c,v
retrieving revision 1.3
diff -u -r1.3 debug.c
--- dlls/msvcrtd/debug.c 18 May 2004 01:05:36 -0000 1.3
+++ dlls/msvcrtd/debug.c 11 Jun 2004 20:35:32 -0000
@@ -115,6 +115,16 @@
}
/*********************************************************************
+ * _CrtCheckMemory (MSVCRTD.@)
+ */
+int _CrtCheckMemory()
+{
+ /* Note: maybe we could call here our heap validating functions ? */
+ return TRUE;
+}
+
+
+/*********************************************************************
* __p__crtAssertBusy (MSVCRTD.@)
*/
int *__p__crtAssertBusy(void)
Index: dlls/msvcrtd/msvcrtd.spec
===================================================================
RCS file: /home/wine/wine/dlls/msvcrtd/msvcrtd.spec,v
retrieving revision 1.10
diff -u -r1.10 msvcrtd.spec
--- dlls/msvcrtd/msvcrtd.spec 18 May 2004 01:05:36 -0000 1.10
+++ dlls/msvcrtd/msvcrtd.spec 11 Jun 2004 20:35:33 -0000
@@ -66,7 +66,7 @@
@ cdecl _CIsqrt() msvcrt._CIsqrt
@ cdecl _CItan() msvcrt._CItan
@ cdecl _CItanh() msvcrt._CItanh
-@ stub _CrtCheckMemory
+@ cdecl _CrtCheckMemory()
@ stub _CrtDbgBreak
@ varargs _CrtDbgReport(long ptr long ptr ptr)
@ stub _CrtDoForAllClientObjects
More information about the wine-patches
mailing list