delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/23/05:55:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 23 Mar 2004 11:54:47 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How do you fstat an open directory?
Message-ID: <20040323105447.GA13267@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <405FA14C DOT 2010607 AT fangorn DOT ca>
Mime-Version: 1.0
In-Reply-To: <405FA14C.2010607@fangorn.ca>
User-Agent: Mutt/1.4.2i

On Mar 22 21:30, Mark Blackburn wrote:
> mark AT althor ~
> $ ./testcase.exe
> inode of d:17489383932880356520
> 
> mark AT 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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019