texlive[64265] Build/source/texk/bibtex-x: bibtex-x: initialize

commits+takuji at tug.org commits+takuji at tug.org
Fri Sep 2 13:19:19 CEST 2022


Revision: 64265
          http://tug.org/svn/texlive?view=revision&revision=64265
Author:   takuji
Date:     2022-09-02 13:19:19 +0200 (Fri, 02 Sep 2022)
Log Message:
-----------
bibtex-x: initialize max_print_line after checking options

Modified Paths:
--------------
    trunk/Build/source/texk/bibtex-x/ChangeLog
    trunk/Build/source/texk/bibtex-x/bibtex.c

Modified: trunk/Build/source/texk/bibtex-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/bibtex-x/ChangeLog	2022-09-02 10:33:50 UTC (rev 64264)
+++ trunk/Build/source/texk/bibtex-x/ChangeLog	2022-09-02 11:19:19 UTC (rev 64265)
@@ -1,3 +1,9 @@
+2022-09-02  TANAKA Takuji  <ttk at 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 at freefriends.org>
 
 	* bibtex8.1,

Modified: trunk/Build/source/texk/bibtex-x/bibtex.c
===================================================================
--- trunk/Build/source/texk/bibtex-x/bibtex.c	2022-09-02 10:33:50 UTC (rev 64264)
+++ trunk/Build/source/texk/bibtex-x/bibtex.c	2022-09-02 11:19:19 UTC (rev 64265)
@@ -264,6 +264,9 @@
     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 @@
         max_print_line = 79;  /* default */
 #endif
 
-    history = SPOTLESS;
-    parse_cmd_line (argc, argv);
-
     set_array_sizes ();
     report_search_paths ();
 



More information about the tex-live-commits mailing list.