[Patch] Loading the registry hive on Win9x (part 2)

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Nov 22 15:24:00 GMT 2004


On Sun, Nov 21, 2004 at 09:55:38PM -0500, Pierre A. Humblet wrote:
>-  got_something_from_registry = regopt ("default");
>   if (myself->progname[0])
>-    got_something_from_registry = regopt (myself->progname) || got_something_from_registry;
>+    got_something_from_registry = regopt (myself->progname);
>+  got_something_from_registry =  got_something_from_registry || regopt ("default");

Doesn't this change the sense of the "default" key so that it will never
get used if a key exists for myself->progname rather than always get
used, regardless?  Maybe I'm the only person in the world who relies on
that behavior, but I do rely on it.

Other than that, the change looks fine.

cgf



More information about the Cygwin-patches mailing list