]> git.ipfire.org Git - thirdparty/coreutils.git/commit
readlink: emit errors when POSIXLY_CORRECT is set
authorCollin Funk <collin.funk1@gmail.com>
Sun, 3 Aug 2025 03:51:30 +0000 (20:51 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sun, 3 Aug 2025 17:55:54 +0000 (10:55 -0700)
commitecd803805d2ce49e46babd3657c455d9b2419102
tree70be1b0ca3f8759924a2981e36ab8443688bb677
parent79206bbfbefcd8c6cbbcbe82f70c58aeb4e7e38a
readlink: emit errors when POSIXLY_CORRECT is set

* src/readlink.c (main): Set verbose if the POSIXLY_CORRECT environment
variable is set.
* tests/readlink/readlink-posix.sh: New file.
* tests/local.mk (all_tests): Add it.
* NEWS: Mention the change.
* doc/coreutils.texi (readlink invocation): Document the behavior of
POSIXLY_CORRECT.
NEWS
doc/coreutils.texi
src/readlink.c
tests/local.mk
tests/readlink/readlink-posix.sh [new file with mode: 0755]