From db25266c9202a1235ce2e2f8a4f84cfb86254196 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 1 Dec 2019 20:48:46 +0000 Subject: hurd: Fix ld.so __getcwd override from libc ld.so symbols to be overriden by libc need to be extern to really get overriden. __getcwd happens to have never been exposed, putting it to GLIBC_PRIVATE. --- sysdeps/posix/getcwd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/posix') diff --git a/sysdeps/posix/getcwd.c b/sysdeps/posix/getcwd.c index 86fb366250..4a721c4cc6 100644 --- a/sysdeps/posix/getcwd.c +++ b/sysdeps/posix/getcwd.c @@ -531,5 +531,6 @@ __getcwd (char *buf, size_t size) } #if defined _LIBC && !defined __getcwd +libc_hidden_def (__getcwd) weak_alias (__getcwd, getcwd) #endif -- cgit v1.2.1