about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-07-22 18:29:57 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-07-22 20:31:52 +0200
commit9a7ab0769b295cbf5232140401742a8f34bda3de (patch)
tree00687564df182a0b3cfb4f987046e26889709dc9 /posix
parentf032ac3b838387c00210e6d8aefcb070360252ef (diff)
downloadglibc-9a7ab0769b295cbf5232140401742a8f34bda3de.tar.gz
glibc-9a7ab0769b295cbf5232140401742a8f34bda3de.tar.xz
glibc-9a7ab0769b295cbf5232140401742a8f34bda3de.zip
hurd: Fix glob lstat compatibility
84f7ce84474c ("posix: Add glob64 with 64-bit time_t support") replaced
GLOB_NO_LSTAT with defining GLOB_LSTAT and GLOB_LSTAT64, but the posix
and gnu versions of the change were missing in the commit.
Diffstat (limited to 'posix')
-rw-r--r--posix/glob-lstat-compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/glob-lstat-compat.c b/posix/glob-lstat-compat.c
index 00d791d03b..f91c7cc2d4 100644
--- a/posix/glob-lstat-compat.c
+++ b/posix/glob-lstat-compat.c
@@ -28,7 +28,8 @@
 # define GLOB_ATTRIBUTE attribute_compat_text_section
 
 /* Avoid calling gl_lstat with GLOB_ALTDIRFUNC.  */
-# define GLOB_NO_LSTAT
+# define GLOB_LSTAT   gl_stat
+# define GLOB_LSTAT64 __stat64
 
 # include <posix/glob.c>