aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;