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: opendir(/dev/fd/n) should fail


On Jan 23 11:09, Helmut Karlowski wrote:
> 
> --------------------------------------------------
> Helmut Karlowski <helmut.karlowski@ish.de> wrote:
> (23/01/2015 10:54)
> > 
> > It's not just bash. The same happens in my home-grown shell. Starting 
> > with /dev/fd/3 opendir succeeds giving (only the opendir-entries):
> 
> Maybe it's because:
> 
> 3 -> /proc/3008/fd/
> 
> which recurses into /dev/fd again?

Yes, that seems likely.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgptfH166n8V1.pgp
Description: PGP signature


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