Re: fstat on mingw

2006-06-30 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > * functions.texi (Function Portability): Document fstat > limitation on mingw. That's only one of the limitations. As I understand it, the limitations include; st_atime, st_mtime, and st_ctime may not have 1-second resolution. st_gid and st_

fstat on mingw

2006-06-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This bit me when trying to compile m4 on mingw. Apparently, fstat always returns st_ino of 0 on a regular file, but m4 was trying to see if stdout and a debug file were the same by comparing st_ino, in order to close the debug file only if it wasn't a