diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-26 14:03:54 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-26 14:03:54 +0000 |
commit | b3536e4d2b9fcb0daf7141c545883a7d2b442e33 (patch) | |
tree | 0a8d32a41e44b15218981b5a3d71ddba079e7c69 /man_term.c | |
parent | 878d84055a253f63524c12172dd09c9044ad0afd (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |