aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-12 11:38:03 -0400
committerMike Frysinger <vapier@gentoo.org>2013-03-12 11:38:03 -0400
commit1b49c25e0a719ec3051eafa2329e68012c815abb (patch)
tree48373c2fd0f242a1bff2f46fe4f425f3b011bac4 /coreutils
parentaf9e70b8cba23b17c554533c3cdab0b66e7015e8 (diff)
downloadbusybox-1b49c25e0a719ec3051eafa2329e68012c815abb.tar.gz
readlink: note that our -f is really -e
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/readlink.c5
1 files changed, 4 insertions, 1 deletions
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;