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


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

-Helmut



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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