projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e085470
)
Update comments.
author
Bruce Momjian
<
[email protected]
>
Fri, 12 Aug 2005 03:07:45 +0000
(
03:07
+0000)
committer
Bruce Momjian
<
[email protected]
>
Fri, 12 Aug 2005 03:07:45 +0000
(
03:07
+0000)
src/port/path.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/path.c
b/src/port/path.c
index 88978e062ed451cb2139bd423c107704856ecf31..ea8c7b5be79d1cfa7e5ae0de51abea383267007a 100644
(file)
--- 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) &&