This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How do you fstat an open directory?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Mar 2004 11:54:47 +0100
- Subject: Re: How do you fstat an open directory?
- References: <405FA14C.2010607@fangorn.ca>
- Reply-to: cygwin at cygwin dot com
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/