From 5b1fcfcc76a2a3408062022c023c20b9871dfe41 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 12 Aug 2005 03:07:45 +0000 Subject: [PATCH] Update comments. --- src/port/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/port/path.c b/src/port/path.c index 88978e062e..ea8c7b5be7 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -289,7 +289,7 @@ canonicalize_path(char *path) * not preceed it. * So, we only deal with "/usr/local/..", not with "/usr/local/../..". * We don't handle the even more complex cases, like - * "usr/local/../../.." and "usr/local/../bin/../..". + * "usr/local/../../..". */ else if (len > 3 && strcmp(path + len - 3, "/..") == 0 && (len != 5 || strcmp(path, "../..") != 0) && -- 2.39.5