diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-08-01 00:56:48 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-10-28 19:26:52 -0400 |
commit | 50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af (patch) | |
tree | 40e0587a6d6a19a3b33978e8d1ff996ef635100b /src/stat/__xstat.c | |
parent | 2d69fcf5ef271c1f5fec45ee9337ec7280a5dae7 (diff) | |
download | musl-50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af.tar.gz musl-50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af.tar.bz2 musl-50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af.tar.xz musl-50018f92f7a1d79bc41a1ad5c5baf99eb7cd40af.zip |
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/__xstat.c')
-rw-r--r-- | src/stat/__xstat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stat/__xstat.c b/src/stat/__xstat.c index f6303430..630936a0 100644 --- a/src/stat/__xstat.c +++ b/src/stat/__xstat.c @@ -1,5 +1,7 @@ #include <sys/stat.h> +#if !_REDIR_TIME64 + int __fxstat(int ver, int fd, struct stat *buf) { return fstat(fd, buf); @@ -25,6 +27,8 @@ weak_alias(__fxstatat, __fxstatat64); weak_alias(__lxstat, __lxstat64); weak_alias(__xstat, __xstat64); +#endif + int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev) { return mknod(path, mode, *dev); |