summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-09-01 13:49:56 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-09-01 13:49:56 +0000
commite54d39c1730c4a54701d1c12181e64949410b709 (patch)
tree0954c0f0db6588d1760f7485d3f8eee7e34bc27e /Build/source/texk/web2c/ptexdir
parent4cb3016b0f8aa860bd65af15c7bdb1f9f356d125 (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/ptexdir')
-rw-r--r--Build/source/texk/web2c/ptexdir/ChangeLog6
-rw-r--r--Build/source/texk/web2c/ptexdir/kanji.c7
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);
- }
}