From 136057eb81d872ba73ab7d8f6f7d44c54be252a1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 23 Jul 2007 23:25:32 +0000 Subject: (map_file_parse): kpse_record_input if requested. From Akira, 23 Jul 2007 10:20:58 (original report from George White). git-svn-id: svn://tug.org/texlive/trunk@4645 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/fontmap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Build/source/texk/kpathsea/fontmap.c b/Build/source/texk/kpathsea/fontmap.c index 8c2777404ad..abcf59bd54d 100644 --- a/Build/source/texk/kpathsea/fontmap.c +++ b/Build/source/texk/kpathsea/fontmap.c @@ -28,6 +28,7 @@ #include #include #include +#include #include /* We have one and only one fontmap, so may as well make it static @@ -81,7 +82,10 @@ map_file_parse P1C(const_string, map_filename) char *orig_l; unsigned map_lineno = 0; FILE *f = xfopen (map_filename, FOPEN_R_MODE); - + + if (kpse_record_input) + kpse_record_input (map_filename); + while ((orig_l = read_line (f)) != NULL) { string filename; string l = orig_l; -- cgit v1.2.3