]> Savannah Git Hosting - gnulib.git/commit
getcwd: Return "/bin" instead of "//bin" on Adélie Linux. stable-202401
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:42:28 +0000 (19:42 +0100)
commitba64359b44b87d23fef7cc2322954aa3f68f9e51
treef5cc4aaabffa96e479fa24af3b7a69c415690414
parente6f85072a78f3107000b5e123d54c90635664683
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