diff options
author | 2010-06-06 18:08:41 +0000 | |
---|---|---|
committer | 2010-06-06 18:08:41 +0000 | |
commit | b31af00d5a24cc5bec953d7a4c70aaddfd3d90c1 (patch) | |
tree | 9632e1bec90481c4c9b187c379502c5bcc573e68 /usr.bin/mandoc/man_html.c | |
parent | Use usb_lookup() instead of rolling our own. ok armani@ fabien@ (diff) | |
download | wireguard-openbsd-b31af00d5a24cc5bec953d7a4c70aaddfd3d90c1.tar.xz wireguard-openbsd-b31af00d5a24cc5bec953d7a4c70aaddfd3d90c1.zip |
Merge bsd.lv release 1.10.0,
which is mostly the post-hackathon release,
bringing in the OpenBSD changes to bsd.lv,
but which also has a few additional minor fixes:
* .Lb is an in-line macro, not in_line_eoln
* .Bt, .Ud now warn when discarding arguments
* allow bad -man dates to flow verbatim into the front-ends
- so far all reported by Ulrich Spoerlein
* .Ar, .Fl and .Li starting with closing punctuation emit an empty element
* empty .Li macros print nothing, but may cause spacing
* proper EOS handling for .Bt, .Ex, .Rv, and .Ud.
* cleanup: collapse posts_xr into posts_wtext (which is the same)
* efficiency: very simple table lookup for roff.c
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r-- | usr.bin/mandoc/man_html.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c index 97dbbe95036..93553434905 100644 --- a/usr.bin/mandoc/man_html.c +++ b/usr.bin/mandoc/man_html.c @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.14 2010/05/23 22:45:00 schwarze Exp $ */ +/* $Id: man_html.c,v 1.15 2010/06/06 18:08:41 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -304,7 +304,10 @@ man_root_post(MAN_ARGS) struct tag *t, *tt; char b[DATESIZ]; - time2a(m->date, b, DATESIZ); + if (m->rawdate) + strlcpy(b, m->rawdate, DATESIZ); + else + time2a(m->date, b, DATESIZ); PAIR_CLASS_INIT(&tag[0], "footer"); bufcat_style(h, "width", "100%"); |