diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-17 10:56:58 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-17 10:56:58 -0300 |
commit | cedd498dbc090e39a9b3224f4c53ea98da049f40 (patch) | |
tree | 5aa2ccfdb9af3a16eac4818d83988f172dd89fd2 /elf/chroot_canon.c | |
parent | f545ad4928fa1f27a3075265182b38a4f939a5f7 (diff) | |
download | glibc-cedd498dbc090e39a9b3224f4c53ea98da049f40.tar.gz glibc-cedd498dbc090e39a9b3224f4c53ea98da049f40.tar.xz glibc-cedd498dbc090e39a9b3224f4c53ea98da049f40.zip |
Revert "elf: Fix 64 time_t support for installed statically binaries"
This reverts commit 0b8e83eb1455f3c0332eeb1f96fbc262fbd054e0.
Diffstat (limited to 'elf/chroot_canon.c')
-rw-r--r-- | elf/chroot_canon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/chroot_canon.c b/elf/chroot_canon.c index e5d7518266..c7f12ca112 100644 --- a/elf/chroot_canon.c +++ b/elf/chroot_canon.c @@ -67,7 +67,7 @@ chroot_canon (const char *chroot, const char *name) for (start = end = name; *start; start = end) { - struct stat st; + struct stat64 st; /* Skip sequence of multiple path-separators. */ while (*start == '/') @@ -114,7 +114,7 @@ chroot_canon (const char *chroot, const char *name) dest = mempcpy (dest, start, end - start); *dest = '\0'; - if (lstat (rpath, &st) < 0) + if (lstat64 (rpath, &st) < 0) { if (*end == '\0') goto done; |