registry: order of insertion of values

Paul Millar p.millar at physics.gla.ac.uk
Mon Apr 4 04:26:49 CDT 2005


Hi James,

On Sunday 03 Apr 2005 23:57, you wrote:
> On Apr 3, 2005 5:17 PM, Paul Millar <p.millar at physics.gla.ac.uk> wrote:
> > By the look of it, the bug is that create_test_entries() creates the
> > three TestN keys (N=1..3), but doesn't clean them after.
>
> We use the values created in create_test_entries() throughout the
> whole test [...] They are cleaned up in the final call to
> delete_key(hkey_main). 

OK, I missed that from a casual glance through the code.

> so this is the correct behaviour.  

... if you insist.

The issue is either one of name-space ("Test" isn't a fantastic choice), or of 
scope:  do all the Test1, Test2, Test3 tests inside one top-level function 
call that also cleans up.

So, two ways of fixing the problem.

HTH,

Paul.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050404/66d68de5/attachment.pgp


More information about the wine-devel mailing list