diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2022-09-02 11:19:19 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2022-09-02 11:19:19 +0000 |
commit | 2befdb3c25bef530676c3d7a93c59b1e5c5e34f7 (patch) | |
tree | ea0c15beadb355a4250c2f335ef3c5e863280e39 /Build/source | |
parent | f9996c1c2e59c65920ee4cbbc484de2e67ce0e81 (diff) |
bibtex-x: initialize max_print_line after checking options
git-svn-id: svn://tug.org/texlive/trunk@64265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/bibtex-x/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/bibtex-x/bibtex.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/bibtex-x/ChangeLog b/Build/source/texk/bibtex-x/ChangeLog index a447b03a423..cd757d87b80 100644 --- a/Build/source/texk/bibtex-x/ChangeLog +++ b/Build/source/texk/bibtex-x/ChangeLog @@ -1,3 +1,9 @@ +2022-09-02 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * bibtex.c: + Initialize max_print_line after checking options. + This change prevents unwanted looking for texmf.cnf. + 2022-08-30 Karl Berry <karl@freefriends.org> * bibtex8.1, diff --git a/Build/source/texk/bibtex-x/bibtex.c b/Build/source/texk/bibtex-x/bibtex.c index 0c0735671aa..8df3f88c9df 100644 --- a/Build/source/texk/bibtex-x/bibtex.c +++ b/Build/source/texk/bibtex-x/bibtex.c @@ -264,6 +264,9 @@ BEGIN number_of_command_line_args = argc; command_line_arg_strings = (char **) argv; + history = SPOTLESS; + parse_cmd_line (argc, argv); + #ifdef KPATHSEA kpse_set_program_name(argv[0], PROGNAME); mpl = kpse_var_value("max_print_line"); @@ -276,9 +279,6 @@ BEGIN max_print_line = 79; /* default */ #endif - history = SPOTLESS; - parse_cmd_line (argc, argv); - set_array_sizes (); report_search_paths (); |