mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Remove internal usage of extensible stat functions
It replaces the internal usage of __{f,l}xstat{at}{64} with the __{f,l}stat{at}{64}. It should not change the generate code since sys/stat.h explicit defines redirections to internal calls back to xstat* symbols. Checked with a build for all affected ABIs. I also check on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
@ -31,7 +31,7 @@ libc_hidden_proto (__old_glob64);
|
||||
#undef stat
|
||||
#define stat stat64
|
||||
#undef __stat
|
||||
#define __stat(file, buf) __xstat64 (_STAT_VER, file, buf)
|
||||
#define __stat(file, buf) __stat64 (file, buf)
|
||||
|
||||
/* Avoid calling gl_lstat with GLOB_ALTDIRFUNC. */
|
||||
#define GLOB_NO_LSTAT
|
||||
|
Reference in New Issue
Block a user