[Patch] Avoid duplicate names in /proc/registry (which may crash find)
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Dec 8 11:53:00 GMT 2008
On Dec 8 12:48, Corinna Vinschen wrote:
> On Dec 7 20:03, Christian Franke wrote:
> > Corinna Vinschen wrote:
> >> ...
> >>> With the attached patch, a duplicate name "foo" is handled as follows:
> >>>
> >>> - readdir() returns the key as "foo" and the value as "foo%val".
> >>> - If the name is "foo%val", stat() and open() consider only the value
> >>> "foo".
> >>[...]
> >> Cool. Can you please send a ChangeLog entry as well?
> >
> > Of course:
>
> Thanks! Patch applied.
Oh, btw.
I was wondering if you would be not too disgusted by the idea to add
some documentation about this change to the Cygwin User's Guide.
There's already some blurb in pathnames.sgml about the /proc/registry
access. Currently it lacks a description of the entire % handling.
Maybe it would be helpful to break out an entire (small) section for the
/proc/registry access...
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