these functions cannot provide the glibc lfs64-ABI-compatible symbols when time_t differs from what it was in that ABI. instead, the aliases need to be provided by the time32 compat shims or through some other mechanism.
12 lines
224 B
C
12 lines
224 B
C
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
|
|
int lstat(const char *restrict path, struct stat *restrict buf)
|
|
{
|
|
return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW);
|
|
}
|
|
|
|
#if !_REDIR_TIME64
|
|
weak_alias(lstat, lstat64);
|
|
#endif
|