]> Savannah Git Hosting - gnulib.git/commit
readlink: Work around a Cygwin 3.3.6 bug.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Jun 2024 23:48:04 +0000 (01:48 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 6 Jun 2024 22:55:43 +0000 (00:55 +0200)
commit91e22cf7a3b61b15df6f4fbef2b8af59fda6d266
tree2fa50b54ff9de4983ed2cc82b0dd97b99aa302e9
parente8cb04225ef894258d4910a19ac67a09575d60f0
readlink: Work around a Cygwin 3.3.6 bug.

* m4/readlink.m4 (gl_FUNC_READLINK): Set REPLACE_READLINK to 1 on Cygwin.
* lib/readlink.c (rpl_readlink): On Cygwin, for /dev/* files, don't
return results that start with a backslash.
* tests/test-readlink.h (test_readlink): Add a test of /dev/null.
* tests/test-canonicalize-lgpl.c (main): Likewise.
* tests/test-canonicalize.c (main): Likewise.
* doc/posix-functions/readlink.texi: Mention the Cygwin bug.
ChangeLog
doc/posix-functions/readlink.texi
lib/readlink.c
m4/readlink.m4
tests/test-canonicalize-lgpl.c
tests/test-canonicalize.c
tests/test-readlink.h