summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2013-07-06 22:43:30 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2013-07-06 22:43:30 +0000
commit106fa2c51d2cd73cb3c997ef5457758f9c08a4b8 (patch)
treebb266c51af02395b3b3fb4ef09577f396296479c
parent004cdf7cf1c86993de5cd6bca1e51c12f292eb49 (diff)
more CP936, CP950
git-svn-id: svn://tug.org/texlive/trunk@31121 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog6
-rw-r--r--Build/source/texk/kpathsea/progname.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 36d266546d8..ad29e87dce4 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,9 +1,9 @@
-2013-07-06 TANAKA Takuji <KXD02663@nifty.ne.jp>
+2013-07-07 TANAKA Takuji <KXD02663@nifty.ne.jp>
* knj.c and progname.c: Generalize the method to avoid the 0x5c problem
in path names to the cases CP936 (simplified Chinese) and CP950
- (traditional Chinese).
-
+ (traditional Chinese) on Windows system.
+
2013-07-05 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am, man/Makefile.am:
diff --git a/Build/source/texk/kpathsea/progname.c b/Build/source/texk/kpathsea/progname.c
index 9e6a91b219d..ba43bd8679f 100644
--- a/Build/source/texk/kpathsea/progname.c
+++ b/Build/source/texk/kpathsea/progname.c
@@ -505,6 +505,8 @@ kpathsea_set_program_name (kpathsea kpse, const_string argv0,
if (cp == 932 || cp == 936 || cp == 950) {
is_cp932_system = cp;
}
+ else
+ is_cp932_system = 0;
#if defined(__MINGW32__)
/* Set various info about user. Among many things,