This is the mail archive of the cygwin 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: findutils vs. /proc/registry


On Aug  8 15:31, Corinna Vinschen wrote:
> On Aug  8 06:35, Eric Blake wrote:
> > I traced this to the fact that findutils() expects open(".", O_RDONLY) to
> > succeed if a directory is readable (and that is my reading of POSIX as
> > well), but cygwin is failing with EISDIR.  Is there any way cygwin can be
> > patched to allow open(".", O_RDONLY) to succeed?
> 
> Just so that nobody gets a wrong impression, open(".", O_RDONLY) only
> fails in some deeper virtual dirs, mainly in /proc/registry, but also
> in /proc/<pid>/fd.  I'll look into this one.

I've checked in a patch.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


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