_itow tests in ntdll/tests

Paul Vriens Paul.Vriens at xs4all.nl
Wed Dec 21 10:47:14 CST 2005


Hi,

I was just diving into this as there is failure for months with this
test on Winxp-SP2 and W2K3.

We call _itow, like this:

result = p_itow(ulong2str[0].value, NULL, 10);

This however seems not be allowed anymore. Changing it to

WCHAR buffer[LARGE_STRI_BUFFER_LENGTH + 1];
result = p_itow(ulong2str[0].value, buffer, 10);

make the test succeed, but I don't know what the author wanted with
these tests.

Any ideas ?

Cheers,

Paul.




More information about the wine-devel mailing list