This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Avoid duplicate names in /proc/registry (which may crash find)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]