mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-13 13:59:21 +00:00
22 lines
734 B
Diff
22 lines
734 B
Diff
--- glibc-2.39/sysdeps/unix/sysv/linux/lxstat64.c 2022-07-30 01:03:09.000000000 +0300
|
|
+++ glibc-2.39/sysdeps/unix/sysv/linux/lxstat64.c.patch 2022-10-07 22:27:46.944262684 +0300
|
|
@@ -53,18 +53,6 @@
|
|
if (vers == _STAT_VER_KERNEL)
|
|
return INLINE_SYSCALL_CALL (newfstatat, AT_FDCWD, name, buf,
|
|
AT_SYMLINK_NOFOLLOW);
|
|
-# else
|
|
- /* New 32-bit kABIs with only 64-bit time_t support, e.g. arc, riscv32. */
|
|
- if (vers == _STAT_VER_KERNEL)
|
|
- {
|
|
- struct statx tmp;
|
|
- int r = INLINE_SYSCALL_CALL (statx, AT_FDCWD, name,
|
|
- AT_NO_AUTOMOUNT | AT_SYMLINK_NOFOLLOW,
|
|
- STATX_BASIC_STATS, &tmp);
|
|
- if (r == 0)
|
|
- __cp_stat64_statx (buf, &tmp);
|
|
- return r;
|
|
- }
|
|
# endif
|
|
#else
|
|
# if STAT_IS_KERNEL_STAT
|