diff options
-rw-r--r-- | Build/source/texk/mendexk/ChangeLog | 2 | ||||
-rw-r--r-- | Build/source/texk/upmendex/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/upmendex/main.c | 5 |
3 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/mendexk/ChangeLog b/Build/source/texk/mendexk/ChangeLog index 8a0f1d4834f..d61595861b7 100644 --- a/Build/source/texk/mendexk/ChangeLog +++ b/Build/source/texk/mendexk/ChangeLog @@ -1,7 +1,7 @@ 2016-11-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * mendex.h: Sync with W32TeX (W32 only). - * main.c: Avoid access violation on Windows. + * main.c: Avoid access violation. 2016-09-28 Hironobu Yamashita <h.y.acetaminophen@gmail.com> diff --git a/Build/source/texk/upmendex/ChangeLog b/Build/source/texk/upmendex/ChangeLog index d3d014f1b07..2ee1fae89cf 100644 --- a/Build/source/texk/upmendex/ChangeLog +++ b/Build/source/texk/upmendex/ChangeLog @@ -1,3 +1,7 @@ +2016-11-12 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * main.c: Avoid access violation. + 2016-06-19 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * version 0.51 Beta version. diff --git a/Build/source/texk/upmendex/main.c b/Build/source/texk/upmendex/main.c index eb5a68db6e7..1a46b6a04d3 100644 --- a/Build/source/texk/upmendex/main.c +++ b/Build/source/texk/upmendex/main.c @@ -202,8 +202,6 @@ int main(int argc, char **argv) /* init hangul tumunja table */ u_strcpy(tumunja,GANADA); - if (styfile!=NULL) styread(styfile); - if (!indfile &&(idxcount-fsti>0)) { indfile=xmalloc(strlen(idxfile[0]+6)); for (i=strlen(idxfile[0]);i>=0;i--) { @@ -233,6 +231,9 @@ int main(int argc, char **argv) efp=stderr; logfile=xstrdup("stderr"); } + + if (styfile!=NULL) styread(styfile); + set_icu_attributes(); if (strcmp(argv[0],"makeindex")==0) { |