summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-03-12 15:38:03 (GMT)
committer Mike Frysinger <vapier@gentoo.org>2013-03-12 15:38:03 (GMT)
commit1b49c25e0a719ec3051eafa2329e68012c815abb (patch)
tree48373c2fd0f242a1bff2f46fe4f425f3b011bac4
parentaf9e70b8cba23b17c554533c3cdab0b66e7015e8 (diff)
downloadbusybox-1b49c25e0a719ec3051eafa2329e68012c815abb.tar.gz
busybox-1b49c25e0a719ec3051eafa2329e68012c815abb.tar.bz2
readlink: note that our -f is really -e
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--coreutils/readlink.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/readlink.c b/coreutils/readlink.c
index f7ad791..d73ef4d 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;