texlive[46146] Build/source/texk/kpathsea: kpathsea/xbasename.c:

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Dec 27 06:30:32 CET 2017


Revision: 46146
          http://tug.org/svn/texlive?view=revision&revision=46146
Author:   kakuto
Date:     2017-12-27 06:30:32 +0100 (Wed, 27 Dec 2017)
Log Message:
-----------
kpathsea/xbasename.c: Remove IS_KANJI test for UNC names.

Modified Paths:
--------------
    trunk/Build/source/texk/kpathsea/ChangeLog
    trunk/Build/source/texk/kpathsea/xbasename.c

Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog	2017-12-27 01:17:58 UTC (rev 46145)
+++ trunk/Build/source/texk/kpathsea/ChangeLog	2017-12-27 05:30:32 UTC (rev 46146)
@@ -1,3 +1,9 @@
+2017-12-27  Akira Kakuto  <kakuto at 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 at gmail.com>
 
 	* tex-glyph.c (try_fallback_resolutions):

Modified: trunk/Build/source/texk/kpathsea/xbasename.c
===================================================================
--- trunk/Build/source/texk/kpathsea/xbasename.c	2017-12-27 01:17:58 UTC (rev 46145)
+++ trunk/Build/source/texk/kpathsea/xbasename.c	2017-12-27 05:30:32 UTC (rev 46146)
@@ -38,15 +38,9 @@
         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 */



More information about the tex-live-commits mailing list