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: How do you fstat an open directory?


On Mar 22 21:30, Mark Blackburn wrote:
> mark@althor ~
> $ ./testcase.exe
> inode of d:17489383932880356520
> 
> mark@althor ~
> $ ls -id d
> 3659174697343209 d/
[...]
> Notice that the inodes don't match from ls -id and from my test program. 
> Am I doing something wrong?

No, it's a bug in Cygwin's fstat implementation which happens to go
wrong for directories.  Thanks for catching this.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                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]