diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-12-01 20:48:46 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-12-01 21:05:51 +0000 |
commit | db25266c9202a1235ce2e2f8a4f84cfb86254196 (patch) | |
tree | b23f1944793f1c15c8cda8b659034454c34fea4e /io/getcwd.c | |
parent | 892badc9bbcd4a6f8c2eb6c8a99be3aa22517532 (diff) | |
download | glibc-db25266c9202a1235ce2e2f8a4f84cfb86254196.zip glibc-db25266c9202a1235ce2e2f8a4f84cfb86254196.tar.gz glibc-db25266c9202a1235ce2e2f8a4f84cfb86254196.tar.bz2 |
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.
Diffstat (limited to 'io/getcwd.c')
-rw-r--r-- | io/getcwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io/getcwd.c b/io/getcwd.c index 9744a5f..98e8cc1 100644 --- a/io/getcwd.c +++ b/io/getcwd.c @@ -32,6 +32,7 @@ __getcwd (char *buf, size_t size) __set_errno (ENOSYS); return NULL; } +libc_hidden_def (__getcwd) weak_alias (__getcwd, getcwd) stub_warning (__getcwd) |