diff options
author | Eric Blake | 2023-03-24 09:58:14 -0500 |
---|---|---|
committer | Denys Vlasenko | 2023-04-16 18:01:44 +0200 |
commit | d2b81b3dc2b31d32e1060d3ea8bd998d30a37d8a (patch) | |
tree | 4e80a2e7eaf488830ef8a6d22544885a9a038299 /networking | |
parent | 2ffd8986e21f1782c78e1a9d34f6042af53d876c (diff) | |
download | busybox-d2b81b3dc2b31d32e1060d3ea8bd998d30a37d8a.zip busybox-d2b81b3dc2b31d32e1060d3ea8bd998d30a37d8a.tar.gz |
readlink: support --, -n always
POSIX will be standardizing readlink (just the -n option) and realpath
(just -E and -e options):
https://www.austingroupbugs.net/view.php?id=1457
Change things for readlink so that the POSIX-mandated -n and -- work
even when disabling the non-standard (and partially non-working) -f
when FEATURE_READLINK_FOLLOW is clear.
POSIX also wants readlink to be verbose by default (if the argument is
not a symlink, readlink must output a diagnostic); I did NOT address
that one, because I'm waiting to see what the GNU Coreutils folks do:
https://lists.gnu.org/archive/html/bug-coreutils/2023-03/msg00035.html
Partial fix for https://bugs.busybox.net/show_bug.cgi?id=15466
function old new delta
packed_usage 34538 34557 +19
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
0 files changed, 0 insertions, 0 deletions