texlive[54924] Build/source/texk/kpathsea/knj.c: improve long path
commits+kakuto at tug.org
commits+kakuto at tug.org
Tue Apr 28 12:17:42 CEST 2020
Revision: 54924
http://tug.org/svn/texlive?view=revision&revision=54924
Author: kakuto
Date: 2020-04-28 12:17:42 +0200 (Tue, 28 Apr 2020)
Log Message:
-----------
improve long path support (windows only)
Modified Paths:
--------------
trunk/Build/source/texk/kpathsea/knj.c
Modified: trunk/Build/source/texk/kpathsea/knj.c
===================================================================
--- trunk/Build/source/texk/kpathsea/knj.c 2020-04-28 10:11:20 UTC (rev 54923)
+++ trunk/Build/source/texk/kpathsea/knj.c 2020-04-28 10:17:42 UTC (rev 54924)
@@ -126,7 +126,7 @@
*/
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);
More information about the tex-live-commits
mailing list.