diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-04-28 10:17:42 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-04-28 10:17:42 +0000 |
commit | c7e9c7395503b1d19d3d82c151139e8a87ff498f (patch) | |
tree | 3b48a7185808c5ecf08f61582365b5354d5af2c9 | |
parent | 00bb4936e0a1b87e21a6fc4587f456eb6253c8c6 (diff) |
improve long path support (windows only)
git-svn-id: svn://tug.org/texlive/trunk@54924 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/kpathsea/knj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/knj.c b/Build/source/texk/kpathsea/knj.c index 835773ae6d5..0d26b5d92e4 100644 --- a/Build/source/texk/kpathsea/knj.c +++ b/Build/source/texk/kpathsea/knj.c @@ -126,7 +126,7 @@ kpathsea_fsyscp_xfopen (kpathsea kpse, const char *filename, const char *mode) */ fnn = xmalloc(strlen(filename) + 10); if ((filename[0] == '/' && filename[1] == '/') || - (filename[0] == '\\' && filename[1] == '\\' filename[2] != '?')) { + (filename[0] == '\\' && filename[1] == '\\' && filename[2] != '?')) { filename += 2; strcpy (fnn, "\\\\?\\UNC\\"); strcat (fnn, filename); |