diff options
author | Karl Berry <karl@freefriends.org> | 2007-07-23 23:25:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-07-23 23:25:32 +0000 |
commit | 136057eb81d872ba73ab7d8f6f7d44c54be252a1 (patch) | |
tree | 1612053ec240cb8c88b4822d52b9943f61a40af6 | |
parent | f37a9d0dd90df425ad7386fd6406f462c8dc4106 (diff) |
(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
-rw-r--r-- | Build/source/texk/kpathsea/fontmap.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <kpathsea/line.h> #include <kpathsea/pathsearch.h> #include <kpathsea/str-list.h> +#include <kpathsea/recorder.h> #include <kpathsea/tex-file.h> /* 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; |