[Patch] Avoid duplicate names in /proc/registry (which may crash find)
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Dec 12 16:38:00 GMT 2008
On Dec 12 09:17, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> According to Corinna Vinschen on 12/12/2008 9:13 AM:
> >> "@" for the named value, and "%.val" for the unnamed default?
> >
> > Backward compatibility would ask for sticking to @ for the default
> > value. Actually there could be a key and a value called @ so you
> > have three @ items. :-P
>
> If there is no key or value @, then use @ for the default for
> compatibility. If there is either a key or a value named @, then use:
>
> @ - named key
> @%val - named value
> %val - default value
Something like that, I guess, though it I get headaches imagining that
the default value is not the default value anymore if by chance a @ key
or value exists. It's a pity that we didn't have Christian's patch
right from the start. I'm just glad that this is a seldom border case.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-patches
mailing list