Re: mutt/2174: Can't build 1.5.11 under cygwin
The following reply was made to PR mutt/2174; it has been noted by GNATS.
From: David Laight <david-mutt@xxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc:
Subject: Re: mutt/2174: Can't build 1.5.11 under cygwin
Date: Wed, 1 Feb 2006 20:51:19 +0000
On Wed, Feb 01, 2006 at 03:25:01AM +0100, Gary R. Van Sickle wrote:
> That's not really a fix though. Windows (and from what I understand several
> Unii, and/or Unii on particular filesystems) don't have a useful concept of
> a "d_ino". The Cygwin one that was there was faked (a hash of the file path
> or some such), and was removed in the interest of performance and/or sanity.
> I'll check on this, but I don't even think it's POSIX to rely on this being
> meaningful. A Cygwin-(et al)-specific fix would involve eliminating the use
> of this field.
http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html
states:
The st_ino and st_dev fields taken together uniquely identify the
file within the system.
David
--
David Laight: david@xxxxxxxxx