diff options
Diffstat (limited to 'Build/source/texk/web2c/ptexdir')
-rw-r--r-- | Build/source/texk/web2c/ptexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/ptexdir/kanji.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog index 0d94e1eb225..10c97e55dd8 100644 --- a/Build/source/texk/web2c/ptexdir/ChangeLog +++ b/Build/source/texk/web2c/ptexdir/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-06-12 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * kanji.[ch], pbibtex.ch: diff --git a/Build/source/texk/web2c/ptexdir/kanji.c b/Build/source/texk/web2c/ptexdir/kanji.c index 0926f7b37ca..65fa9bb8cce 100644 --- a/Build/source/texk/web2c/ptexdir/kanji.c +++ b/Build/source/texk/web2c/ptexdir/kanji.c @@ -95,11 +95,4 @@ 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); - } } |