summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkjell <kjell@openbsd.org>2006-05-03 22:25:34 +0000
committerkjell <kjell@openbsd.org>2006-05-03 22:25:34 +0000
commitb30c53cd2a082c41a05eb013cc799d95b64254cc (patch)
tree73cf0bd141819289c1b82e7a32c8a89553310a89
parentUsing mmap for these is going to be trickier than I thought, go ahead (diff)
downloadwireguard-openbsd-b30c53cd2a082c41a05eb013cc799d95b64254cc.tar.xz
wireguard-openbsd-b30c53cd2a082c41a05eb013cc799d95b64254cc.zip
correct one more comment
-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)