From cedd498dbc090e39a9b3224f4c53ea98da049f40 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 17 Jan 2022 10:56:58 -0300 Subject: Revert "elf: Fix 64 time_t support for installed statically binaries" This reverts commit 0b8e83eb1455f3c0332eeb1f96fbc262fbd054e0. --- elf/sln.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elf/sln.c') diff --git a/elf/sln.c b/elf/sln.c index 5347338e91..00f8f7c8e8 100644 --- a/elf/sln.c +++ b/elf/sln.c @@ -153,11 +153,11 @@ makesymlinks (const char *file) static int makesymlink (const char *src, const char *dest) { - struct stat stats; + struct stat64 stats; const char *error; /* Destination must not be a directory. */ - if (lstat (dest, &stats) == 0) + if (lstat64 (dest, &stats) == 0) { if (S_ISDIR (stats.st_mode)) { -- cgit 1.4.1