mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
io: Remove xstat implementations
With xstat wrapper functions removed (8ed005daf0
), the stat functions
are now properly exported, and version is done using symbols versioning
instead of the extra _STAT_* argument.
Reviewed-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
@@ -17,11 +17,10 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#undef __lstat64
|
||||
int
|
||||
__lstat64 (const char *file, struct stat64 *buf)
|
||||
{
|
||||
return __lxstat64 (_STAT_VER, file, buf);
|
||||
return __fstatat64 (AT_FDCWD, file, buf, AT_SYMLINK_NOFOLLOW);
|
||||
}
|
||||
hidden_def (__lstat64)
|
||||
weak_alias (__lstat64, lstat64)
|
||||
|
Reference in New Issue
Block a user