summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/progname.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-26 10:20:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-07-26 10:20:07 +0000
commit8d4af963a232f6c2cdbf510179c05af4140d3264 (patch)
tree919ffa0fb8d422560c77a04760bb2001729e9070 /Build/source/texk/kpathsea/progname.c
parentb682bb00112f1062d00240543c0a0038413d148a (diff)
kpathsea: More changes to reduce diffs with W32TeX
git-svn-id: svn://tug.org/texlive/trunk@23230 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/progname.c')
-rw-r--r--Build/source/texk/kpathsea/progname.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/progname.c b/Build/source/texk/kpathsea/progname.c
index 49d3bf8bc0b..69dca71b86b 100644
--- a/Build/source/texk/kpathsea/progname.c
+++ b/Build/source/texk/kpathsea/progname.c
@@ -449,7 +449,7 @@ mk_suffixlist (kpathsea kpse)
if (*q)
n++;
kpse->suffixlist = (char **) xmalloc ((n + 2) * sizeof (char *));
- p = (char **)kpse->suffixlist;
+ p = kpse->suffixlist;
*p = xstrdup (".dll");
p++;
q = v;
@@ -489,6 +489,8 @@ kpathsea_set_program_name (kpathsea kpse, const_string argv0,
}
#if defined(WIN32)
+ is_cp932_system = (GetACP () == 932);
+
/* Set various info about user. Among many things,
ensure that HOME is set. */
init_user_info();