From 8352b3b9bad68c40f9bb7e4288b5079d8e15ba29 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 23 Jul 2007 23:30:18 +0000 Subject: recorder strings are const git-svn-id: svn://tug.org/texlive/trunk@4646 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 9 +++++++++ Build/source/texk/kpathsea/recorder.h | 11 +++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index f60c11b72a5..9bf7e3ccb3a 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,12 @@ +2007-07-24 Karl Berry + + * recorder.h (kpse_input, kpse_output): use const_string as + argument, not just char *, to avoid warning. + + * fontmap.c (map_file_parse): kpse_record_input if requested. + From Akira, 23 Jul 2007 10:20:58 (original report from George + White). + 2007-07-15 Karl Berry * depend.mak: update. diff --git a/Build/source/texk/kpathsea/recorder.h b/Build/source/texk/kpathsea/recorder.h index a3532de1f89..1631b1b5904 100644 --- a/Build/source/texk/kpathsea/recorder.h +++ b/Build/source/texk/kpathsea/recorder.h @@ -15,16 +15,15 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ #ifndef KPATHSEA_RECORDER_H #define KPATHSEA_RECORDER_H -/* Thess variables get set by web2c and are used to record filenames for its - * filename recorder. This way they can also be used in kpathsea, e.g. for - * texmf.cnf */ -void (*kpse_record_input)(char*); -void (*kpse_record_output)(char*); +/* These variables are set by web2c and are used to record filenames for its + filename -recorder option. This way they can also be used for files + opened by kpathsea, e.g., texmf.cnf */ +void (*kpse_record_input) (const_string); +void (*kpse_record_output) (const_string); #endif /* not KPATHSEA_RECORDER_H */ -- cgit v1.2.3