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] New '--install-type' option for cygcheck?


On Thu, Mar 27, 2003 at 08:00:24AM -0000, Elfyn McBratney wrote:
> > I've been working on a new option for `cygcheck' that checks who Cygwin
> was
> > installed for. This could be used when users on the mailing list have
> > problems running services when the installation was done for "Just Me",
> > executing files in the same situation etc. Would this be a desirable
> > feature? Yes/no...patch attached :-)
> 
> Sorry, forgot this...
> 
> 2003-03-27  Elfyn McBratney  <elfyn at exposure dot org dot uk>
> 
> * utils/cygcheck.cc (longopts): Add install-type option.
> (opts): Add 'i' install-type option.
> (check_install_type): New function.
> (main): Accommodate new install_type option.

Well, the problem is that you're checking in HKLM first.  You should
check the HKCU key first since this would override the existing same
key in HKLM.  Probably it would be nice(tm) if cygcheck reports
always both keys if they both exist and print some warning about this
(hmm, I'm musing if it makes sense to print a suggestion to drop the
HKCU key in that case...)

Corinna

PS: Your ChangeLog is incorrect (think "tabs") ;-)

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin at cygwin dot com
Red Hat, Inc.


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