diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-28 14:42:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-28 14:42:27 +0000 |
commit | e0c8ee70b0d6b84f57714a5446e2ecfeca8826b4 (patch) | |
tree | a958c1c720cac88b7740009ea1436b5c356e1eb7 /man.c | |
parent | 6c9bf65b847eba6ae5bf1d6bf9d72a29550bf824 (diff) | |
download | mandoc-e0c8ee70b0d6b84f57714a5446e2ecfeca8826b4.tar.gz |
mdoc(7) already uses the mandoc(1) -Ios argument in the footer line
when .Os has no argument, so do the same for man(7) when .TH has less
than four arguments; there is no reason to treat both differently.
Issue found following a question from Thomas Klausner <wiz at NetBSD>.
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -92,7 +92,8 @@ man_free(struct man *man) } struct man * -man_alloc(struct roff *roff, struct mparse *parse, int quick) +man_alloc(struct roff *roff, struct mparse *parse, + const char *defos, int quick) { struct man *p; @@ -100,6 +101,7 @@ man_alloc(struct roff *roff, struct mparse *parse, int quick) man_hash_init(); p->parse = parse; + p->defos = defos; p->quick = quick; p->roff = roff; |