From cf8e9a530012b13b4fbd576b5154c10836f1d803 Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sat, 12 Nov 2016 15:30:18 +0000 Subject: upmendex: Avoid access violation, more git-svn-id: svn://tug.org/texlive/trunk@42493 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/upmendex/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/upmendex') diff --git a/Build/source/texk/upmendex/main.c b/Build/source/texk/upmendex/main.c index 1a46b6a04d3..5e505da9ae6 100644 --- a/Build/source/texk/upmendex/main.c +++ b/Build/source/texk/upmendex/main.c @@ -199,9 +199,6 @@ int main(int argc, char **argv) } } -/* init hangul tumunja table */ - u_strcpy(tumunja,GANADA); - if (!indfile &&(idxcount-fsti>0)) { indfile=xmalloc(strlen(idxfile[0]+6)); for (i=strlen(idxfile[0]);i>=0;i--) { @@ -232,6 +229,8 @@ int main(int argc, char **argv) logfile=xstrdup("stderr"); } +/* init hangul tumunja table */ + u_strcpy(tumunja,GANADA); if (styfile!=NULL) styread(styfile); set_icu_attributes(); -- cgit v1.2.3