summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-03 13:40:01 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-03 13:40:01 +0000
commit7f279dee61ccee8ddf1cf19e79020bde785a8ba1 (patch)
treec8853b194dd2a151f684d2912bb481b8ac1c4d6b /usr.bin/mandoc/read.c
parentf660d472bda6a7b677553fa2ddc918288179ea2a (diff)
warn about time machines; suggested by Thomas Klausner <wiz @ NetBSD>
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 5e341726f81..5c409947c49 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.157 2017/07/02 15:31:48 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.158 2017/07/03 13:40:00 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -114,6 +114,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"unknown manual section",
"missing date, using today's date",
"cannot parse date, using it verbatim",
+ "date in the future, using it anyway",
"missing Os macro, using \"\"",
"duplicate prologue macro",
"late prologue macro",