]> 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>
Mon, 3 Jun 2024 23:48:04 +0000 (01:48 +0200)
commitf72f83c75a0ea544f8636a8640fe782a11bae4fb
tree8612a8884eede5ad7691d191746be38038bcb873
parent2443f0caead8da61e25467fefcaceb164692e834
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