texlive[64264] Build/source/texk/upmendex: upmendex: sync with mendex

commits+takuji at tug.org commits+takuji at tug.org
Fri Sep 2 12:33:50 CEST 2022


Revision: 64264
          http://tug.org/svn/texlive?view=revision&revision=64264
Author:   takuji
Date:     2022-09-02 12:33:50 +0200 (Fri, 02 Sep 2022)
Log Message:
-----------
upmendex: sync with mendex

Modified Paths:
--------------
    trunk/Build/source/texk/upmendex/ChangeLog
    trunk/Build/source/texk/upmendex/main.c

Modified: trunk/Build/source/texk/upmendex/ChangeLog
===================================================================
--- trunk/Build/source/texk/upmendex/ChangeLog	2022-09-01 23:50:53 UTC (rev 64263)
+++ trunk/Build/source/texk/upmendex/ChangeLog	2022-09-02 10:33:50 UTC (rev 64264)
@@ -1,3 +1,10 @@
+2022-09-02  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* main.c:
+	Moved calls of KP_entry_filetype() after checking options.
+	This change prevents unwanted looking for texmf.cnf.
+	https://github.com/texjporg/tex-jp-build/pull/144
+
 2022-05-22  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* version 1.01  Stable version.

Modified: trunk/Build/source/texk/upmendex/main.c
===================================================================
--- trunk/Build/source/texk/upmendex/main.c	2022-09-01 23:50:53 UTC (rev 64263)
+++ trunk/Build/source/texk/upmendex/main.c	2022-09-02 10:33:50 UTC (rev 64264)
@@ -45,15 +45,6 @@
 	}
 #endif
 
-	kp_ist.var_name = "INDEXSTYLE";
-	kp_ist.path = DEFAULT_INDEXSTYLES; /* default path. */
-	kp_ist.suffix = "ist";
-	KP_entry_filetype(&kp_ist);
-	kp_dict.var_name = "INDEXDICTIONARY";
-	kp_dict.path = DEFAULT_INDEXDICTS; /* default path */
-	kp_dict.suffix = "dict";
-	KP_entry_filetype(&kp_dict);
-
 /*   check options   */
 
 	for (i=1,j=k=0;i<argc && j<256;i++) {
@@ -191,6 +182,15 @@
 	}
 	idxcount=j+fsti;
 
+	kp_ist.var_name = "INDEXSTYLE";
+	kp_ist.path = DEFAULT_INDEXSTYLES; /* default path. */
+	kp_ist.suffix = "ist";
+	KP_entry_filetype(&kp_ist);
+	kp_dict.var_name = "INDEXDICTIONARY";
+	kp_dict.path = DEFAULT_INDEXDICTS; /* default path */
+	kp_dict.suffix = "dict";
+	KP_entry_filetype(&kp_dict);
+
 /*   check option errors   */
 
 	if (idxcount==0) idxcount=fsti=1;



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