This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [Patch] Avoid duplicate names in /proc/registry (which may crash find)
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