diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-10 09:48:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-10 09:48:04 +0000 |
commit | a849488fd6c6ab60c6b927fd43e04691a2634f00 (patch) | |
tree | 8c018110479a4c3016bc7217564d320890dd4e95 /Build/source/texk/kpathsea/tex-file.c | |
parent | e59c06f29ee429a76948d050f6c56081e031c755 (diff) |
kpathsea: more const
git-svn-id: svn://tug.org/texlive/trunk@18187 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c index 03f8a142b7e..6d02b7b4ee5 100644 --- a/Build/source/texk/kpathsea/tex-file.c +++ b/Build/source/texk/kpathsea/tex-file.c @@ -868,10 +868,10 @@ static void target_fontmaps (kpathsea kpse, string **target, unsigned *count, const_string name) { - string *mapped_names = kpathsea_fontmap_lookup (kpse, name); + const_string *mapped_names = kpathsea_fontmap_lookup (kpse, name); if (mapped_names != NULL) { - string mapped_name; + const_string mapped_name; /* We leak mapped_names and its elements, some of the time. */ while ((mapped_name = *mapped_names++) != NULL) { (*target)[(*count)] = xstrdup (mapped_name); |