mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
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:
parent
f032ac3b83
commit
9a7ab0769b
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user