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, 27 Mar 2003, Corinna Vinschen wrote:

> 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...)

No, please.  If Cygwin were installed for All Users, but user mounts were
later created with "mount -u", this would cause the situation you
describe.  Since this is a perfectly legitimate use of mount, no warning
is necessary.
	Igor

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

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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