diff options
-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 (); |