[PATCH] New '--install-type' option for cygcheck?
Thu Mar 27 15:58:00 GMT 2003
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 <email@example.com>
> > * 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
> PS: Your ChangeLog is incorrect (think "tabs") ;-)
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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!
More information about the Cygwin-patches