texlive[50539] Build/source/texk/web2c/lib: Fix a bug in the case of
commits+kakuto at tug.org
commits+kakuto at tug.org
Fri Mar 22 23:57:44 CET 2019
Revision: 50539
http://tug.org/svn/texlive?view=revision&revision=50539
Author: kakuto
Date: 2019-03-22 23:57:44 +0100 (Fri, 22 Mar 2019)
Log Message:
-----------
Fix a bug in the case of --recorder option (w32 only)
Modified Paths:
--------------
trunk/Build/source/texk/web2c/lib/ChangeLog
trunk/Build/source/texk/web2c/lib/texmfmp.c
Modified: trunk/Build/source/texk/web2c/lib/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/lib/ChangeLog 2019-03-22 21:30:19 UTC (rev 50538)
+++ trunk/Build/source/texk/web2c/lib/ChangeLog 2019-03-22 22:57:44 UTC (rev 50539)
@@ -1,3 +1,10 @@
+2019-03-23 Akira Kakuto <kakuto at w32tex.org>
+
+ * texmfmp.c: On windows, xetex and pdftex did not record
+ texmf.cnf in the case of --recorder because of special
+ initializations. Fix this bug. It is not needed to rebuild
+ in other platforms.
+
2019-01-01 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
* printversion.c: Update copyright year.
Modified: trunk/Build/source/texk/web2c/lib/texmfmp.c
===================================================================
--- trunk/Build/source/texk/web2c/lib/texmfmp.c 2019-03-22 21:30:19 UTC (rev 50538)
+++ trunk/Build/source/texk/web2c/lib/texmfmp.c 2019-03-22 22:57:44 UTC (rev 50539)
@@ -738,16 +738,17 @@
parse_options (ac, av);
#endif
-#if IS_pTeX
- /* In pTeX and friends, texmf.cnf is not recorded in the case of --recorder,
- because parse_options() is executed after the start of kpathsea due to
- special initializations. Therefore we record texmf.cnf here. */
+#if IS_pTeX || ((defined(XeTeX) || defined(pdfTeX)) && defined(WIN32))
+ /* In pTeX and friends, or in WIN32, texmf.cnf is not recorded in
+ the case of --recorder, because parse_options() is executed
+ after the start of kpathsea due to special initializations.
+ Therefore we record texmf.cnf here. */
if (recorder_enabled) {
string p = kpse_find_file ("texmf.cnf", kpse_cnf_format, 0);
if (p)
recorder_record_input (p);
}
-#endif
+#endif /* IS_pTeX || (...) */
/* If -progname was not specified, default to the dump name. */
if (!user_progname)
More information about the tex-live-commits
mailing list