This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]