]> Savannah Git Hosting - gnulib.git/commit
same-inode: port to MinGW
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Dec 2016 16:16:13 +0000 (08:16 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Dec 2016 16:17:09 +0000 (08:17 -0800)
commit0d63463512976ffd4244a6b3ed966dba9a11e5f9
tree18094f8e45cc26704b8484891160c7394438b3d6
parentef9d01e848ed7d5a939d574ecacc4f7b4fb41f1c
same-inode: port to MinGW

Here st_ino is always 0, so change the definition of SAME_INODE so
that 1 means the two files are the same, 0 with st_ino != 0 means
they differ, and 0 with st_ino == 0 means we don’t know.  Problem
reported by Bruno Haible (Bug#25146).
* doc/posix-headers/sys_stat.texi (sys/stat.h): Update.
* lib/same-inode.h (SAME_INODE): Return 0 on MinGW.
ChangeLog
doc/posix-headers/sys_stat.texi
lib/same-inode.h