From 56286f223ea5a1322306ddd5f1da77d201ba2cdd Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Thu, 9 May 2024 05:57:09 +0000 Subject: mktexpk.c, mktextfm.c: disable output-diretory option in METAFONT passed on from a parent program. mktexupd.c: remove unnecessary messages. git-svn-id: svn://tug.org/texlive/trunk@71214 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/win32/ChangeLog | 7 +++++++ Build/source/texk/kpathsea/win32/mktexpk.c | 5 +++++ Build/source/texk/kpathsea/win32/mktextfm.c | 5 +++++ Build/source/texk/kpathsea/win32/mktexupd.c | 3 +-- 4 files changed, 18 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/kpathsea') diff --git a/Build/source/texk/kpathsea/win32/ChangeLog b/Build/source/texk/kpathsea/win32/ChangeLog index f83f5134e98..0923f198732 100644 --- a/Build/source/texk/kpathsea/win32/ChangeLog +++ b/Build/source/texk/kpathsea/win32/ChangeLog @@ -1,3 +1,10 @@ +2024-05-09 Akira Kakuto + + * 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 * mktextfm.c: remove an unused variable. diff --git a/Build/source/texk/kpathsea/win32/mktexpk.c b/Build/source/texk/kpathsea/win32/mktexpk.c index 86734fab9ca..0f169a4c620 100644 --- a/Build/source/texk/kpathsea/win32/mktexpk.c +++ b/Build/source/texk/kpathsea/win32/mktexpk.c @@ -306,6 +306,11 @@ main (int ac, char **av) kpse_set_program_name (av[0], NULL); progname = kpse_program_name; +/* + * disable output_directory in mktexpk (2024/05/09) + */ + xputenv("TEXMF_OUTPUT_DIRECTORY", ""); + /* * get tex binary dir * diff --git a/Build/source/texk/kpathsea/win32/mktextfm.c b/Build/source/texk/kpathsea/win32/mktextfm.c index e09e99237b2..6f5ab4cdfd3 100644 --- a/Build/source/texk/kpathsea/win32/mktextfm.c +++ b/Build/source/texk/kpathsea/win32/mktextfm.c @@ -96,6 +96,11 @@ main (int ac, char **av) kpse_set_program_name (av[0], NULL); progname = kpse_program_name; +/* + * disable output_directory in mktextfm (2024/05/09) + */ + xputenv("TEXMF_OUTPUT_DIRECTORY", ""); + /* * get tex binary dir * diff --git a/Build/source/texk/kpathsea/win32/mktexupd.c b/Build/source/texk/kpathsea/win32/mktexupd.c index 343891f979f..88ac65e2934 100644 --- a/Build/source/texk/kpathsea/win32/mktexupd.c +++ b/Build/source/texk/kpathsea/win32/mktexupd.c @@ -86,8 +86,7 @@ mktexupd (char *s) 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); -- cgit v1.2.3