diff options
Diffstat (limited to 'Build/source/texk/dvipsk')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/loadfont.c | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/tfmload.c | 2 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/virtualfont.c | 2 |
4 files changed, 10 insertions, 4 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index b24712b6605..314a2e2b061 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,9 @@ +2010-03-29 Karl Berry <karl@tug.org> + + * loadfont.c, + * tfmload.c, + * virtualfont.c: concatn terminates with NULL. From Akira. + 2010-03-28 Karl Berry <karl@tug.org> * all files: no spaces before semicolons. diff --git a/Build/source/texk/dvipsk/loadfont.c b/Build/source/texk/dvipsk/loadfont.c index 6c324852f74..0d96037534d 100644 --- a/Build/source/texk/dvipsk/loadfont.c +++ b/Build/source/texk/dvipsk/loadfont.c @@ -38,7 +38,7 @@ char name[MAXPATHLEN]; void badpk(const char *s) { - char *msg = concatn ("! Bad PK file ", name, ": ", s); + char *msg = concatn ("! Bad PK file ", name, ": ", s, NULL); error(msg); } @@ -137,7 +137,7 @@ pkopen(register fontdesctype *fd) pkfile = pksearch(this_name, READBIN, fd->dpi, &name_ret, &dpi_ret); if (!pkfile || !FILESTRCASEEQ (this_name, name_ret)) { - char *msg = concatn ("Font ", fd->area, n, " not found; "); + char *msg = concatn ("Font ", fd->area, n, " not found; ", NULL); /* wasting some memory */ if (!pkfile) msg = concat (msg, "characters will be left blank."); diff --git a/Build/source/texk/dvipsk/tfmload.c b/Build/source/texk/dvipsk/tfmload.c index 17853a0f7c8..5b9ed411c4c 100644 --- a/Build/source/texk/dvipsk/tfmload.c +++ b/Build/source/texk/dvipsk/tfmload.c @@ -21,7 +21,7 @@ static char name[50]; void badtfm(const char *s) { - char *msg = concatn ("! Bad TFM file ", name, ": ", s); + char *msg = concatn ("! Bad TFM file ", name, ": ", s, NULL); error(msg); } diff --git a/Build/source/texk/dvipsk/virtualfont.c b/Build/source/texk/dvipsk/virtualfont.c index a0444623811..ab47e5134a3 100644 --- a/Build/source/texk/dvipsk/virtualfont.c +++ b/Build/source/texk/dvipsk/virtualfont.c @@ -20,7 +20,7 @@ static char name[500]; void badvf(const char *s) { - char *msg = concatn("! Bad VF file ", name, ": ", s); + char *msg = concatn("! Bad VF file ", name, ": ", s, NULL); error(msg); } |