hurd: Fix glob lstat compatibility

84f7ce8447 ("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.
This commit is contained in:
Samuel Thibault 2021-07-22 18:29:57 +00:00
parent f032ac3b83
commit 9a7ab0769b
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -29,7 +29,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>