[PATCH 6/6] d3dxof: Do not allow separator to terminate the string. Only the double quote can do that.

Nicolas Le Cam niko.lecam at gmail.com
Fri Mar 9 07:08:24 CST 2012


Le 9 mars 2012 13:39, Christian Costa <titan.costa at gmail.com> a écrit :
> Le 08/03/2012 21:23, Alexandre Julliard a écrit :
>>
>> Christian Costa<titan.costa at gmail.com>  writes:
>>
>>> This should fix the d3dxof problem of bug 12694.
>>
>> It's broken on 64-bit:
>>
>> ../../../../wine/tools/runtest -q -P wine -M d3dxof.dll -T ../../.. -p
>> d3dxof_test.exe.so ../../../../wine/dlls/d3dxof/tests/d3dxof.c&&  touch
>> d3dxof.ok
>> d3dxof.c:578: Test failed: Got size 8, expected 4
>> d3dxof.c:597: Test failed: Got size 8, expected 4
>> make[1]: *** [d3dxof.ok] Error 2
>>
> I updated my tests and just remember sizeof must no be used in traces. BTW
> what should it be avoided ?
>
> Christian
>
>

Because there's no C89/C90 portable way of printf'ing a size_t.

-- 
Nicolas Le Cam



More information about the wine-devel mailing list