From dce0d80ffa4838ff1378eeb467fdb980557636d3 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 27 Dec 2017 05:44:22 +0000 Subject: kpathsea/xdirname.c: remove IS_KANJI test for UNC names git-svn-id: svn://tug.org/texlive/trunk@46147 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 2 +- Build/source/texk/kpathsea/xdirname.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index f23e643d7df..8ef4bdbfbe1 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,6 +1,6 @@ 2017-12-27 Akira Kakuto - * 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 diff --git a/Build/source/texk/kpathsea/xdirname.c b/Build/source/texk/kpathsea/xdirname.c index 0aab9b4b001..dd9a02ffbfb 100644 --- a/Build/source/texk/kpathsea/xdirname.c +++ b/Build/source/texk/kpathsea/xdirname.c @@ -43,15 +43,9 @@ xdirname (const_string name) 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 -- cgit v1.2.3