texlive[46147] Build/source/texk/kpathsea: kpathsea/xdirname.c:

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Dec 27 06:44:22 CET 2017


Revision: 46147
          http://tug.org/svn/texlive?view=revision&revision=46147
Author:   kakuto
Date:     2017-12-27 06:44:22 +0100 (Wed, 27 Dec 2017)
Log Message:
-----------
kpathsea/xdirname.c: remove IS_KANJI test for UNC names

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

Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog	2017-12-27 05:30:32 UTC (rev 46146)
+++ trunk/Build/source/texk/kpathsea/ChangeLog	2017-12-27 05:44:22 UTC (rev 46147)
@@ -1,6 +1,6 @@
 2017-12-27  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
-	* xbasename.c: Remove IS_KANJI test for UNC names.
+	* xbasename.c, xdirname.c: Remove IS_KANJI test for UNC names.
 	Report by Douglas McKenna:
 	http://tug.org/pipermail/tex-k/2017-December/002840.html
 

Modified: trunk/Build/source/texk/kpathsea/xdirname.c
===================================================================
--- trunk/Build/source/texk/kpathsea/xdirname.c	2017-12-27 05:30:32 UTC (rev 46146)
+++ trunk/Build/source/texk/kpathsea/xdirname.c	2017-12-27 05:44:22 UTC (rev 46147)
@@ -43,15 +43,9 @@
         limit = 2;
     } else if (IS_UNC_NAME(name)) {
         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
                 ;
             limit--;
         } else



More information about the tex-live-commits mailing list