diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2022-09-01 13:49:56 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2022-09-01 13:49:56 +0000 |
commit | e54d39c1730c4a54701d1c12181e64949410b709 (patch) | |
tree | 0954c0f0db6588d1760f7485d3f8eee7e34bc27e /Build/source/texk/web2c/uptexdir | |
parent | 4cb3016b0f8aa860bd65af15c7bdb1f9f356d125 (diff) |
ptexenc,(u)ptex,mendex: initialize inflie_enc_auto when firstly used (by H.Kitagawa)
git-svn-id: svn://tug.org/texlive/trunk@64255 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/uptexdir')
-rw-r--r-- | Build/source/texk/web2c/uptexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/uptexdir/kanji.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/uptexdir/ChangeLog b/Build/source/texk/web2c/uptexdir/ChangeLog index b3eeef3ffbe..2ae4ffc4d86 100644 --- a/Build/source/texk/web2c/uptexdir/ChangeLog +++ b/Build/source/texk/web2c/uptexdir/ChangeLog @@ -1,3 +1,9 @@ +2022-09-01 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp> + + * kanji.c: Initialization of infile_enc_auto is moved to ptexenc. + This change prevents unwanted looking for texmf.cnf. + https://github.com/texjporg/tex-jp-build/pull/144 + 2022-07-23 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * uptex-m.ch, upbibtex.ch, updvitype.ch, uppltotf.ch, uptftopl.ch, diff --git a/Build/source/texk/web2c/uptexdir/kanji.c b/Build/source/texk/web2c/uptexdir/kanji.c index e61f549de61..ea336cf9c2e 100644 --- a/Build/source/texk/web2c/uptexdir/kanji.c +++ b/Build/source/texk/web2c/uptexdir/kanji.c @@ -519,13 +519,6 @@ void init_default_kanji (const_string file_str, const_string internal_str) if (!set_enc_string (p, NULL)) fprintf (stderr, "Ignoring bad kanji encoding \"%s\".\n", p); } - - p = kpse_var_value ("guess_input_kanji_encoding"); - if (p) { - if (*p == '1' || *p == 'y' || *p == 't') - infile_enc_auto = 1; - free(p); - } } void init_default_kanji_select(void) |