summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-26 22:27:34 +0000
committerKarl Berry <karl@freefriends.org>2013-03-26 22:27:34 +0000
commitd7334189d7811f583eb2adb05efbd1a50a2240cb (patch)
treea51638317953675e4c8093e80afae2c96fc67fb5
parent8f91f6a46f095d4908a0f5bcc4910c5a3099fe0e (diff)
more identification of "Invalid fontname" warnings
git-svn-id: svn://tug.org/texlive/trunk@29520 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/tex-make.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index f4d828a6553..1a54e9c44db 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-26 Karl Berry <karl@tug.org>
+
+ * tex-make.c (kpathsea_make_tex): specify fn name in warnings
+ about invalid fontnames.
+
2013-03-14 Karl Berry <karl@tug.org>
* texmf.cnf (save_size): increase to 100000 (from 50000),
diff --git a/Build/source/texk/kpathsea/tex-make.c b/Build/source/texk/kpathsea/tex-make.c
index 7619d244ea7..d983c8ee228 100644
--- a/Build/source/texk/kpathsea/tex-make.c
+++ b/Build/source/texk/kpathsea/tex-make.c
@@ -1,7 +1,7 @@
/* tex-make.c: run external programs to make TeX-related files.
Copyright 1993, 1994, 1995, 1996, 1997, 2008, 2009, 2010, 2011,
- 2012 Karl Berry.
+ 2012, 2013 Karl Berry.
Copyright 1997, 1998, 2001-05 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -404,6 +404,7 @@ maketex (kpathsea kpse, kpse_file_format_type format, string* args)
}
+
/* Create BASE in FORMAT and return the generated filename, or
return NULL. */
@@ -437,7 +438,7 @@ kpathsea_make_tex (kpathsea kpse, kpse_file_format_type format,
* No doubt some possibilities were overlooked.
*/
if (base[0] == '-' /* || IS_DIR_SEP(base[0]) */) {
- fprintf(stderr, "kpathsea: Invalid fontname `%s', starts with '%c'\n",
+ fprintf(stderr, "kpathsea:make_tex: Invalid fontname `%s', starts with '%c'\n",
base, base[0]);
return NULL;
}
@@ -449,7 +450,7 @@ kpathsea_make_tex (kpathsea kpse, kpse_file_format_type format,
&& base[i] != '.'
&& !IS_DIR_SEP(base[i]))
{
- fprintf(stderr, "kpathsea: Invalid fontname `%s', contains '%c'\n",
+ fprintf(stderr, "kpathsea:make_tex: Invalid fontname `%s', contains '%c'\n",
base, base[i]);
return NULL;
}