summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mg/fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c
index fffc572c4d3..decbf946a95 100644
--- a/usr.bin/mg/fileio.c
+++ b/usr.bin/mg/fileio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fileio.c,v 1.72 2006/05/03 22:19:41 kjell Exp $ */
+/* $OpenBSD: fileio.c,v 1.73 2006/05/03 22:25:34 kjell Exp $ */
/* This file is in the public domain. */
@@ -234,9 +234,9 @@ fbackupfile(const char *fn)
}
/*
- * The string "fn" is a file name. Perform any required appending of directory
- * name or case adjustments. The same file should be referred to even if the
- * working directory changes.
+ * Convert "fn" to a canonicalized absolute filename, replacing
+ * a leading ~/ with the user's home dir, following symlinks, and
+ * and remove all occurences of /./ and /../
*/
char *
adjustname(const char *fn)