summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvidvi/ChangeLog9
-rw-r--r--Build/source/texk/dvidvi/dvidvi.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/Build/source/texk/dvidvi/ChangeLog b/Build/source/texk/dvidvi/ChangeLog
index c03ca78c6d5..d83fdff6679 100644
--- a/Build/source/texk/dvidvi/ChangeLog
+++ b/Build/source/texk/dvidvi/ChangeLog
@@ -1,3 +1,12 @@
+2018-05-14 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * dvidvi.c: Adjust 'Bad option' error message.
+
+2018-05-09 Ken Brown <kbrow1i@gmail.com>
+
+ * dvidvi.c: Avoid a gcc warning with -Wformat-security.
+ http://tug.org/pipermail/tlbuild/2018q2/004225.html
+
2017-06-25 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* configure{,ac}, aclocal.m4:
diff --git a/Build/source/texk/dvidvi/dvidvi.c b/Build/source/texk/dvidvi/dvidvi.c
index fb769fabc25..fa4c54cb2f4 100644
--- a/Build/source/texk/dvidvi/dvidvi.c
+++ b/Build/source/texk/dvidvi/dvidvi.c
@@ -138,7 +138,7 @@ const char *oname=NULL ; /* output dvi file name */
char *iname ; /* input dvi file name */
char *strings ; /* pointer of the string pool */
-char banner[] = BANNER ; /* the startup message */
+const char banner[] = BANNER ; /* the startup message */
integer inlength ; /* the length of the input dvi file */
integer postloc ; /* location of the postamble */
integer mag ; /* magnification factor */
@@ -772,7 +772,7 @@ case '?' :
usage() ;
break ;
default:
- error("! Bad option, not one of filmnqrx?") ;
+ error("! Bad option, not one of fijlmnpqrx?") ;
} /* switch c */
} else { /* this a file name */
if (*iname == 0) { /* input file name */