aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-12-30 22:01:47 -0500
committerRob Landley <rob@landley.net>2006-12-30 22:01:47 -0500
commitc6f481c119540d740de14545bae2d63e0793d657 (patch)
tree56d443c481cf9df3d25071c9152f0ea98d925348
parent04fa1e18618ad7ca5678d84075e4b8d40f297bfd (diff)
downloadtoybox-c6f481c119540d740de14545bae2d63e0793d657.tar.gz
Comment tweak.
-rw-r--r--lib/functions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/functions.c b/lib/functions.c
index bcdaa0e0..b42f62d3 100644
--- a/lib/functions.c
+++ b/lib/functions.c
@@ -195,7 +195,8 @@ char *xgetcwd(void)
}
// Cannonicalizes path by removing ".", "..", and "//" elements. This is not
-// the same as realpath(), where "dir/.."
+// the same as realpath(), where "dir/.." could wind up somewhere else by
+// following symlinks.
char *xabspath(char *path)
{
char *from, *to;