aboutsummaryrefslogtreecommitdiff
path: root/coreutils/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/realpath.c')
-rw-r--r--coreutils/realpath.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/coreutils/realpath.c b/coreutils/realpath.c
index c513b5549..0c2d544e4 100644
--- a/coreutils/realpath.c
+++ b/coreutils/realpath.c
@@ -1,7 +1,4 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2
3/* BB_AUDIT SUSv3 N/A -- Apparently a busybox extension. */
4
5/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) 2/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
6 * 3 *
7 * Now does proper error checking on output and returns a failure exit code 4 * Now does proper error checking on output and returns a failure exit code
@@ -9,6 +6,18 @@
9 * 6 *
10 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
11 */ 8 */
9//config:config REALPATH
10//config: bool "realpath"
11//config: default y
12//config: help
13//config: Return the canonicalized absolute pathname.
14//config: This isn't provided by GNU shellutils, but where else does it belong.
15
16//applet:IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP))
17
18//kbuild:lib-$(CONFIG_REALPATH) += realpath.o
19
20/* BB_AUDIT SUSv3 N/A -- Apparently a busybox extension. */
12 21
13//usage:#define realpath_trivial_usage 22//usage:#define realpath_trivial_usage
14//usage: "FILE..." 23//usage: "FILE..."