Avoid duplicate names in /proc/registry (which may crash find) ?

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Dec 4 12:30:00 GMT 2008

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


thanks to a patch from Christian Franke.


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/

More information about the Cygwin mailing list