[bug 1805] InternetCrackURLA

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Sat Apr 2 13:06:38 CST 2005


Bug 1805 reports a problem with InternetCrackURL, but the problem it reports
is now fixed anyway. However, running their tests under wine does show one
small remaining problem which is if the url length is not supplied in the
call to the ASCII function, its length is calculated by the return code from
MultiByteToWideChar, which includes the null character before passing this
length onto the Unicode version. However, the InternetCrackURL function
takes as parm the number of characters, which shouldn't include the null
(and tests show it doesn't on Windows) so the returned lengths are wrong.

Changelog

Ensure A->W version of InternetCrackURL passes correct length values, and
associated tests

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug1805.patch
Type: application/octet-stream
Size: 4300 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050402/a6eaca72/bug1805.obj


More information about the wine-patches mailing list