wine/dlls/oleaut32/tests vartype.c

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 1 12:06:42 CST 2005


ChangeSet ID:	21021
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/01 12:06:41

Modified files:
	dlls/oleaut32/tests: vartype.c 

Log message:
	Marcus Meissner <marcus at jet.franken.de>
	SysReAllocString of same pointer returns TRUE.

Patch: http://cvs.winehq.org/patch.py?id=21021

Old revision  New revision  Changes     Path
 1.33          1.34          +3 -0       wine/dlls/oleaut32/tests/vartype.c

Index: wine/dlls/oleaut32/tests/vartype.c
diff -u -p wine/dlls/oleaut32/tests/vartype.c:1.33 wine/dlls/oleaut32/tests/vartype.c:1.34
--- wine/dlls/oleaut32/tests/vartype.c:1.33	1 Nov 2005 18: 6:41 -0000
+++ wine/dlls/oleaut32/tests/vartype.c	1 Nov 2005 18: 6:41 -0000
@@ -5105,6 +5105,9 @@ static void test_SysReAllocStringLen(voi
     ok (bstr->dwLen == 12, "Expected 12, got %ld\n", bstr->dwLen);
     ok (!lstrcmpW(bstr->szString, szLarger), "String different\n");
 
+    changed = SysReAllocStringLen(&str, str, 6);
+    ok (changed == 1, "Expected 1, got %d\n", changed);
+
     SysFreeString(str);
   }
 }



More information about the wine-cvs mailing list