]> Savannah Git Hosting - gnulib.git/commit
getcwd: Return "/bin" instead of "//bin" on Adélie Linux.
authorBruno Haible <bruno@clisp.org>
Tue, 31 Dec 2024 18:38:42 +0000 (19:38 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 31 Dec 2024 18:41:28 +0000 (19:41 +0100)
commit1faeb19d2ab14dbd7b8128419d0aeaa3ed9f9a84
tree0d484eab73c31139c8974b9c598bc28d1c8ba1aa
parent964c3a2bacda42e8cabe572c54079b7d7b6ce9f6
getcwd: Return "/bin" instead of "//bin" on Adélie Linux.

Reported by Zach van Rijn <me@zv.io> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-04/msg00072.html>
and <https://git.adelielinux.org/adelie/packages/-/issues/987>.

* lib/getcwd.c (__getcwd_generic): Remove a trailing slash from the
result of readlink().
ChangeLog
lib/getcwd.c