summaryrefslogtreecommitdiff
path: root/src/stat/stat.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-08-01 00:56:48 -0400
committerRich Felker <dalias@aerifal.cx>2019-10-28 19:26:52 -0400
commit50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af (patch)
tree40e0587a6d6a19a3b33978e8d1ff996ef635100b /src/stat/stat.c
parent2d69fcf5ef271c1f5fec45ee9337ec7280a5dae7 (diff)
downloadmusl-50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af.tar.gz
disable lfs64 aliases for remapped time64 functions
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.
Diffstat (limited to 'src/stat/stat.c')
-rw-r--r--src/stat/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat/stat.c b/src/stat/stat.c
index 528870d2..ea70efc4 100644
--- a/src/stat/stat.c
+++ b/src/stat/stat.c
@@ -6,4 +6,6 @@ int stat(const char *restrict path, struct stat *restrict buf)
return fstatat(AT_FDCWD, path, buf, 0);
}
+#if !_REDIR_TIME64
weak_alias(stat, stat64);
+#endif