texlive[71214] Build/source/texk/kpathsea/win32: mktexpk.c,

commits+kakuto at tug.org commits+kakuto at tug.org
Thu May 9 07:57:09 CEST 2024


Revision: 71214
          https://tug.org/svn/texlive?view=revision&revision=71214
Author:   kakuto
Date:     2024-05-09 07:57:09 +0200 (Thu, 09 May 2024)
Log Message:
-----------
mktexpk.c, mktextfm.c: disable output-diretory option in METAFONT
passed on from a parent program.
mktexupd.c: remove unnecessary messages.

Modified Paths:
--------------
    trunk/Build/source/texk/kpathsea/win32/ChangeLog
    trunk/Build/source/texk/kpathsea/win32/mktexpk.c
    trunk/Build/source/texk/kpathsea/win32/mktextfm.c
    trunk/Build/source/texk/kpathsea/win32/mktexupd.c

Modified: trunk/Build/source/texk/kpathsea/win32/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/win32/ChangeLog	2024-05-08 23:42:05 UTC (rev 71213)
+++ trunk/Build/source/texk/kpathsea/win32/ChangeLog	2024-05-09 05:57:09 UTC (rev 71214)
@@ -1,3 +1,10 @@
+2024-05-09  Akira Kakuto  <kakuto at jcom.zaq.ne.jp>
+
+	* mktexpk.c, mktextfm.c: Add xputenv("TEXMF_OUTPUT_DIRECTORY", "")
+	to disable output-directory option in METAFONT passed on from a
+	parent program.
+	mktexupd.c: Remove unnecessary messages.
+
 2023-07-08  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* mktextfm.c: remove an unused variable.

Modified: trunk/Build/source/texk/kpathsea/win32/mktexpk.c
===================================================================
--- trunk/Build/source/texk/kpathsea/win32/mktexpk.c	2024-05-08 23:42:05 UTC (rev 71213)
+++ trunk/Build/source/texk/kpathsea/win32/mktexpk.c	2024-05-09 05:57:09 UTC (rev 71214)
@@ -307,6 +307,11 @@
   progname = kpse_program_name;
 
 /*
+ * disable output_directory in mktexpk (2024/05/09)
+ */
+  xputenv("TEXMF_OUTPUT_DIRECTORY", "");
+
+/*
  * get tex binary dir
  *
  */

Modified: trunk/Build/source/texk/kpathsea/win32/mktextfm.c
===================================================================
--- trunk/Build/source/texk/kpathsea/win32/mktextfm.c	2024-05-08 23:42:05 UTC (rev 71213)
+++ trunk/Build/source/texk/kpathsea/win32/mktextfm.c	2024-05-09 05:57:09 UTC (rev 71214)
@@ -97,6 +97,11 @@
   progname = kpse_program_name;
 
 /*
+ * disable output_directory in mktextfm (2024/05/09)
+ */
+  xputenv("TEXMF_OUTPUT_DIRECTORY", "");
+
+/*
  * get tex binary dir
  *
  */

Modified: trunk/Build/source/texk/kpathsea/win32/mktexupd.c
===================================================================
--- trunk/Build/source/texk/kpathsea/win32/mktexupd.c	2024-05-08 23:42:05 UTC (rev 71213)
+++ trunk/Build/source/texk/kpathsea/win32/mktexupd.c	2024-05-09 05:57:09 UTC (rev 71214)
@@ -86,8 +86,7 @@
     f = fopen (lsrname, "ab");
     fprintf (f, "\n.%s:\n%s\n", pa, fname);
     fclose (f);
-  } else
-    fprintf(stderr, "mktexupd failed\n");
+  }
   for (i = 0; i < numtree; i++)
     free (pathbuff[i]);
   free (pathbuff);



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