summaryrefslogtreecommitdiff
path: root/Build/source/utils
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-18 23:11:21 +0000
committerKarl Berry <karl@freefriends.org>2018-01-18 23:11:21 +0000
commit1644e8b4a9baf844c5e7d67bbdf864444fd864c9 (patch)
treeb53919aeec80fc7c5791288386be20de9a4a2e92 /Build/source/utils
parent8d4b98bf6709fc32093c5c7e4ec890346b3f406f (diff)
printf %s instead of direct string (from Debian)
git-svn-id: svn://tug.org/texlive/trunk@46372 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rw-r--r--Build/source/utils/devnag/ChangeLog5
-rw-r--r--Build/source/utils/devnag/src/devnag.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/utils/devnag/ChangeLog b/Build/source/utils/devnag/ChangeLog
index 043a2adce6d..eda43dc2884 100644
--- a/Build/source/utils/devnag/ChangeLog
+++ b/Build/source/utils/devnag/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-18 Karl Berry <karl@tug.org>
+
+ * src/devnag.c (err_ill): printf %s instead of direct string
+ (from Debian).
+
2016-06-30 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* tests/*.tex: update version number.
diff --git a/Build/source/utils/devnag/src/devnag.c b/Build/source/utils/devnag/src/devnag.c
index 793ad0a35ec..1a178699098 100644
--- a/Build/source/utils/devnag/src/devnag.c
+++ b/Build/source/utils/devnag/src/devnag.c
@@ -3,7 +3,7 @@
*
Preprocessor for Devanagari for TeX package
- Copyright (C) 1991-2016 University of Groningen, The Netherlands
+ Copyright (C) 1991-2018 University of Groningen, The Netherlands
*
Author : Frans J. Velthuis <velthuis@rc.rug.nl>
Date : 09 May 1991
@@ -2417,7 +2417,7 @@ void put_macro(short macro) {
void err_ill(const char *str) {
fprintf(stderr, "Error: illegal character(s) \"%s\" detected at line %d:\n",
str, linenumber);
- fprintf(stderr, inbuf);
+ fprintf(stderr, "%s", inbuf);
exit(1);
}