[ntdll/tests/reg.c] Corrected test
Paul Vriens
Paul.Vriens at xs4all.nl
Tue Apr 5 13:18:19 CDT 2005
Hi,
every once in a while I run a script:
http://www.winehq.org/hypermail/wine-devel/2005/01/0379.html
to look for wrong usage of zero-flags.
This time it revealed that we should have or-ed the flags instead of
and-ed, otherwise both tests will be exactly the same. It can be argued
that only RTL_REGISTRY_OPTIONAL will be sufficient, but I think it's
clearer now.
Changelog
The flags should be or-ed.
Cheers,
Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests_reg.c.diff
Type: text/x-patch
Size: 1061 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050405/5b086fac/tests_reg.c.bin
More information about the wine-patches
mailing list