summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 14:03:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 14:03:54 +0000
commitb3536e4d2b9fcb0daf7141c545883a7d2b442e33 (patch)
tree0a8d32a41e44b15218981b5a3d71ddba079e7c69 /man_term.c
parent878d84055a253f63524c12172dd09c9044ad0afd (diff)
downloadmandoc-b3536e4d2b9fcb0daf7141c545883a7d2b442e33.tar.gz
Allow bad -man dates to flow verbatim into the front-ends. Noted by
Ulrich Spoerlein.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index b65245cb..2d82a83b 100644
--- a/man_term.c
+++ b/man_term.c
@@ -864,7 +864,10 @@ print_man_foot(struct termp *p, const struct man_meta *meta)
term_fontrepl(p, TERMFONT_NONE);
- time2a(meta->date, buf, DATESIZ);
+ if (meta->rawdate)
+ strlcpy(buf, meta->rawdate, DATESIZ);
+ else
+ time2a(meta->date, buf, DATESIZ);
term_vspace(p);
term_vspace(p);