diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-12-27 05:44:22 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-12-27 05:44:22 +0000 |
commit | dce0d80ffa4838ff1378eeb467fdb980557636d3 (patch) | |
tree | e3c17558eea74883177052a2ef9c4982287220c0 /Build/source/texk/kpathsea | |
parent | 858968cc982a1e96101b89d7867202c66f2ebaf4 (diff) |
kpathsea/xdirname.c: remove IS_KANJI test for UNC names
git-svn-id: svn://tug.org/texlive/trunk@46147 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 2 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/xdirname.c | 6 |
2 files changed, 1 insertions, 7 deletions
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 <kakuto@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 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 |