summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog6
-rw-r--r--Build/source/texk/kpathsea/xbasename.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index b471f7ea666..f23e643d7df 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-27 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * xbasename.c: Remove IS_KANJI test for UNC names.
+ Report by Douglas McKenna:
+ http://tug.org/pipermail/tex-k/2017-December/002840.html
+
2017-12-09 Jiang Jiang <gzjjgod@gmail.com>
* tex-glyph.c (try_fallback_resolutions):
diff --git a/Build/source/texk/kpathsea/xbasename.c b/Build/source/texk/kpathsea/xbasename.c
index c3f29b7828e..010e124b07e 100644
--- a/Build/source/texk/kpathsea/xbasename.c
+++ b/Build/source/texk/kpathsea/xbasename.c
@@ -38,15 +38,9 @@ xbasename (const_string name)
unsigned limit;
for (limit = 2; name[limit] && !IS_DIR_SEP (name[limit]); limit++)
-#if defined(WIN32) && defined (KPSE_COMPAT_API)
- if (IS_KANJI(name+limit)) limit++
-#endif
;
if (name[limit++] && name[limit] && !IS_DIR_SEP (name[limit])) {
for (; name[limit] && !IS_DIR_SEP (name[limit]); limit++)
-#if defined(WIN32) && defined (KPSE_COMPAT_API)
- if (IS_KANJI(name+limit)) limit++
-#endif
;
} else
/* malformed UNC name, backup */