]> git.ipfire.org Git - thirdparty/glibc.git/commit
sln: use stat64
authorHongjiu Zhang <noctuorare@gmail.com>
Mon, 7 Mar 2016 01:18:21 +0000 (20:18 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 7 Mar 2016 16:39:06 +0000 (11:39 -0500)
commitf23d7d2a8420a5ba2e28fc9c1d9c2b2996498d46
treedd0fbccf94ea113550121ec097a9f24da74be0eb
parent0a321a461c726096585c22f735266b31328232ec
sln: use stat64

When using sln on some filesystems which return 64-bit inodes,
the stat call might fail during install like so:
.../elf/sln .../elf/symlink.list
/lib32/libc.so.6: invalid destination: Value too large for defined data type
/lib32/ld-linux.so.2: invalid destination: Value too large for defined data type
Makefile:104: recipe for target 'install-symbolic-link' failed

Switch to using stat64 all the time to avoid this.

URL: https://bugs.gentoo.org/576396
(cherry picked from commit f5e753c8c3a18a1e3c715dd11bf4dc341b5c481f)
ChangeLog
elf/sln.c