This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Avoid duplicate names in /proc/registry (which may crash find) ?
On Dec 4 11:37, ColdShine wrote:
> 2008/12/2 Eric Blake <ebb9@byu.net>:
> >
> > [...] the problem is [...] that Windows allows the registry to violate
> > filesystem semantics by giving the same name to distinct contents.
>
> If I'm allowed to add some further examples (which are probably known
> to most, but maybe not to all), registry value names allow *any*
> Unicode character (including NUL, sic! - thanks UNICODE_STRING), so
> the following is completely ambiguous, even though valid:
>
> /proc/registry/.../parentkey/subkey/value/with/slashes
>
> where the actual value name is "value/with/slashes" (sic!).
That's why Cygwin prints the file name as
/proc/registry/.../parentkey/subkey/value%2Fwith%2Fslashes
thanks to a patch from Christian Franke.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/