[shlwapi/tests/shreg.c #2] [shlwapi/reg.c] Correct CopyKeyA/W (Src
and Dst were switched)
Paul Vriens
Paul.Vriens at xs4all.nl
Sun Jan 16 14:53:24 CST 2005
Hi,
I found a nice bug in our CopyKey implementation. We have the Src and
Dst in the not so correct order. See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regqueryvalueex.asp
The attached patch fixes that and the second patch is to patch the tests
belonging to it.
The CopyKey test now passes on win98, win2kprof, XPprof(sp2) and Wine
(others not tested yet).
I'm still not there, but there's progress.
Please apply after first patch.
Changelog:
Change the order of Src and Dst in CopyKey calls/functions.
Cheers,
Paul Vriens.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reg.c.diff
Type: text/x-patch
Size: 2577 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050116/04b7d335/reg.c.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests_shreg_2.diff
Type: text/x-patch
Size: 379 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050116/04b7d335/tests_shreg_2.bin
More information about the wine-patches
mailing list