Mercurial > hg > octave-shane > gnulib-hg
changeset 17478:ae02e78771e0
d-ino: avoid false negative on symlink
If the first entry listed in a directory is a symlink, we
had a spurious mismatch between d_ino (which should match the
symlink) and stat() results (which chases the symlink).
Reported by Stephane Chazelas <stephane.chazelas@gmail.com>.
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use lstat.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 21 Aug 2013 16:10:18 -0600 |
parents | 3da690762856 |
children | c0816e1956c6 |
files | ChangeLog m4/d-ino.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-08-21 Eric Blake <eblake@redhat.com> + + d-ino: avoid false negative on symlink + * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use lstat. + Reported by Stephane Chazelas. + 2013-08-12 Mike Miller <mtmiller@ieee.org> (tiny change) bootstrap: port to OpenBSD sed