From: Mike Frysinger Date: Tue, 12 Mar 2013 15:38:03 +0000 (-0400) Subject: readlink: note that our -f is really -e X-Git-Tag: 1_22_0~244 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b49c25e0a719ec3051eafa2329e68012c815abb;p=oweals%2Fbusybox.git readlink: note that our -f is really -e Signed-off-by: Mike Frysinger --- diff --git a/coreutils/readlink.c b/coreutils/readlink.c index f7ad791ec..d73ef4ddb 100644 --- a/coreutils/readlink.c +++ b/coreutils/readlink.c @@ -39,7 +39,10 @@ * -q, --quiet, -s, --silent suppress most error messages * -v, --verbose report error messages * - * bbox supports: -f -n -v (fully), -q -s (accepts but ignores) + * bbox supports: -f (partially) -n -v (fully), -q -s (accepts but ignores) + * Note: we export the -f flag, but our -f behaves like coreutils' -e. + * Unfortunately, there isn't a C lib function we can leverage to get this + * behavior which means we'd have to implement the full stack ourselves :(. */ int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;