diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-28 10:20:13 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-06-28 10:20:13 +0000 |
commit | ba2c33bcc94b39c1eabe62fee838173aa14e76c4 (patch) | |
tree | fb6cf347803b10bcf894aa69535dc0b2b60d6809 /Build/source/texk/kpathsea/tilde.c | |
parent | f39500686f1d59c546088298de78c179dc55189e (diff) |
kpathsea: Eliminate global and static variables (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@41557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tilde.c')
-rw-r--r-- | Build/source/texk/kpathsea/tilde.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/tilde.c b/Build/source/texk/kpathsea/tilde.c index fa7ebf96b5f..98cc93e79b2 100644 --- a/Build/source/texk/kpathsea/tilde.c +++ b/Build/source/texk/kpathsea/tilde.c @@ -1,7 +1,7 @@ /* tilde.c: expand user's home directories. Copyright 1997, 1998, 2005, Olaf Weber. - Copyright 1993, 1995, 1996, 1997, 2008, 2011 Karl Berry. + Copyright 1993, 1995, 1996, 1997, 2008, 2011, 2016 Karl Berry. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -88,7 +88,7 @@ kpathsea_tilde_expand (kpathsea kpse, string name) c = 2; while (!IS_DIR_SEP (name[c]) && name[c] != 0) { /* find user name */ #if defined(WIN32) - if (IS_KANJI(name+c)) + if (kpathsea_IS_KANJI(kpse, name+c)) c++; #endif c++; @@ -130,7 +130,7 @@ kpathsea_tilde_expand (kpathsea kpse, string name) for (q = home; *q; q++) { if (IS_DIR_SEP (*q) && q[1] == 0) c++; - else if (IS_KANJI(q)) + else if (kpathsea_IS_KANJI(kpse, q)) q++; } #else @@ -146,7 +146,7 @@ kpathsea_tilde_expand (kpathsea kpse, string name) for (p = expansion; *p; p++) { if (*p == '\\') *p = '/'; - else if (IS_KANJI(p)) + else if (kpathsea_IS_KANJI(kpse, p)) p++; } #endif |