diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2024-05-09 05:57:09 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2024-05-09 05:57:09 +0000 |
commit | 56286f223ea5a1322306ddd5f1da77d201ba2cdd (patch) | |
tree | 2a84fcf2d9fbd1bb77dcdc1bdd698dc0c7768de1 /Build/source/texk/kpathsea | |
parent | 9cfaa6eed3089ddf9a7338d7c28e003081e96f21 (diff) |
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
Diffstat (limited to 'Build/source/texk/kpathsea')
-rw-r--r-- | Build/source/texk/kpathsea/win32/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/mktexpk.c | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/mktextfm.c | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/win32/mktexupd.c | 3 |
4 files changed, 18 insertions, 2 deletions
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 <kakuto@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@t-lab.opal.ne.jp> * 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 @@ -307,6 +307,11 @@ main (int ac, char **av) 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 @@ -97,6 +97,11 @@ main (int ac, char **av) 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); |