summaryrefslogtreecommitdiff
path: root/m4/d-ino.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/d-ino.m4')
-rw-r--r--m4/d-ino.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/d-ino.m4 b/m4/d-ino.m4
index aab82c2d..5ccb733c 100644
--- a/m4/d-ino.m4
+++ b/m4/d-ino.m4
@@ -1,11 +1,11 @@
-# serial 13
+# serial 14
dnl From Jim Meyering.
dnl
dnl Check whether struct dirent has a member named d_ino.
dnl
-# Copyright (C) 1997, 1999-2001, 2003-2004, 2006-2007, 2009-2013 Free Software
+# Copyright (C) 1997, 1999-2001, 2003-2004, 2006-2007, 2009-2014 Free Software
# Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -30,7 +30,7 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO],
e = readdir (dp);
if (! e)
return 2;
- if (stat (e->d_name, &st) != 0)
+ if (lstat (e->d_name, &st) != 0)
return 3;
if (e->d_ino != st.st_ino)
return 4;