summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/knj.c6
-rw-r--r--Build/source/texk/kpathsea/readable.c3
3 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index a4d3b1b64ea..3ac05e0d20b 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,7 +1,8 @@
2020-10-24 Akira Kakuto <kakuto@w32tex.org>
- * readable.c, knj.c: More than one directory separators in
- filename+2 should not exist in \\?\ form of absolute path.
+ * readable.c, knj.c: More than one adjacent directory
+ separators in filename+2 should not exist in \\?\ form of
+ absolute path.
2020-08-26 Karl Berry <karl@tug.org>
diff --git a/Build/source/texk/kpathsea/knj.c b/Build/source/texk/kpathsea/knj.c
index 0498319c606..32d5885e8ea 100644
--- a/Build/source/texk/kpathsea/knj.c
+++ b/Build/source/texk/kpathsea/knj.c
@@ -127,7 +127,8 @@ kpathsea_fsyscp_xfopen (kpathsea kpse, const char *filename, const char *mode)
Windows, if it really exists and input name is given in
full-absolute path in a command line.
/./ , /../, \.\, \..\ should be excluded. (2020/06/06)
- More than one directory separators should be excluded. (2020/10/24)
+ More than one adjacent directory separators should be
+ excluded. (2020/10/24)
*/
fnn = xmalloc(len + 10);
p = strstr(filename, ".\\");
@@ -205,7 +206,8 @@ kpathsea_fsyscp_fopen (kpathsea kpse, const char *filename, const char *mode)
Windows, if it really exists and input name is given in
full-absolute path in a command line.
/./ , /../, \.\, \..\ should be excluded. (2020/06/06)
- More than one directory separators should be excluded. (2020/10/24)
+ More than one adjacent directory separators should be
+ excluded. (2020/10/24)
*/
fnn = xmalloc(len + 10);
p = strstr(filename, ".\\");
diff --git a/Build/source/texk/kpathsea/readable.c b/Build/source/texk/kpathsea/readable.c
index 182a5e69a16..919bfaa0208 100644
--- a/Build/source/texk/kpathsea/readable.c
+++ b/Build/source/texk/kpathsea/readable.c
@@ -51,7 +51,8 @@ READABLE(kpathsea kpse, const_string fn, unsigned int st)
Windows, if it really exists and input name is given in
full-absolute path in a command line.
/../, /./, \..\, \.\ should be excluded (2020/06/06)
- More than one directory separators should be excluded. (2020/10/24)
+ More than one adjacent directory separators should be
+ excluded. (2020/10/24)
*/
p = strstr(fn, ".\\");
if (!p) {