oleaut32: SysReAllocStringLen should return null terminated strings

Alexander Kochetkov al.kochet at gmail.com
Tue Oct 13 05:09:03 CDT 2009


This patch implement hidden feature of SysReAllocStringLen. If second
argument of SysReAllocStringLen
is NULL, it should return null terminated strings.
This behavior was tested under XP, 98 and under XP with 95, 98, Me, 2k
compatability modes.
The test contain range test code, which depend on the implementation
of HeapReAlloc. Under some
conditions it fail, but under some compatibility modes it success.
This code is disabled.
May be, there is conflict  with comment of SysReAllocStringLen, says
" Subtle hidden feature: The old string data is still there  when 'in'
is NULL!  Some Microsoft program needs it."
I don't know that programs and cannot test them.
This behavior is need for Texas Instruments Code Composer Studio v3.3.

-----------------------next part----------------------------------


More information about the wine-patches mailing list