oleaut32: fix the vartype tests on Vista.

Reece Dunn msclrhd at googlemail.com
Sun Jul 20 05:31:10 CDT 2008


This fixes the test failures noted at
http://test.winehq.org/data/80ee225f23ea8093f57f1e7b29b7fb60e6f6cdda/vista_VistaSP1/oleaut32:vartype.html.

Vista has changed the behaviour of SysReAllocString and
SysReAllocStringLen such that allocating a string smaller than the
currently created one will allocate a new string (as shown by those
test failures). Therefore we cannot test for the string pointers being
equal and cannot depend on this behaviour.

- Reece
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-oleaut32-fix-the-vartype-tests-on-Vista.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080720/47a6d6e4/attachment-0001.txt 


More information about the wine-patches mailing list