summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2011-05-09 13:26:29 +0000
committerTaco Hoekwater <taco@elvenkind.com>2011-05-09 13:26:29 +0000
commit53aac48c4311d498dfcd1355d9c159d2cd72136a (patch)
tree9401a94855819b80675b08a843b6fdfe88a894ed /Build/source
parentc9058d3782477195ed5087ce84661ed63a3d373d (diff)
metapost's mpx reader forgot to close incoming tfm files
git-svn-id: svn://tug.org/texlive/trunk@22377 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/mplibdir/mpxout.w1
2 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index 18c5b2b8657..b20a07a9631 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-09 Taco Hoekwater <taco@luatex.org>
+
+ * mpxout.w (mpx_in_TFM): close tfm files.
+
2011-04-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* mp.w (mp_do_snprintf): Removed, instead declare and define
diff --git a/Build/source/texk/web2c/mplibdir/mpxout.w b/Build/source/texk/web2c/mplibdir/mpxout.w
index 0cd99d7409b..543b29849c5 100644
--- a/Build/source/texk/web2c/mplibdir/mpxout.w
+++ b/Build/source/texk/web2c/mplibdir/mpxout.w
@@ -1220,6 +1220,7 @@ static void mpx_in_TFM (MPX mpx,web_integer f) {
@<Move the widths from |in_width| to |width|@>;
mpx->fbase[f]=0; mpx->ftop[f]=0;
mpx->info_ptr=wp;
+ mpx_fclose(mpx,mpx->tfm_file);
return;
}