diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-05-27 17:48:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-05-27 17:48:57 +0000 |
commit | cc286dde362eb32238e74c6bd62962a7ffe6e872 (patch) | |
tree | 97852d737c2a1eefdd93d854c28cb4b9aa0236eb /libmdoc.h | |
parent | 7c536cb6230f46a3b6438c2611168d45f1ef2cb2 (diff) | |
download | mandoc-cc286dde362eb32238e74c6bd62962a7ffe6e872.tar.gz |
Support -Ios='OpenBSD 5.1' to override uname(3) as the source of the
default value for the mdoc(7) .Os macro.
Needed for man.cgi on the OpenBSD website.
Problem with man.cgi first noticed by deraadt@;
beck@ and deraadt@ agree with the way to solve the issue.
"Please check them in and I'll look into them later!" kristaps@
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ enum mdoc_next { struct mdoc { struct mparse *parse; /* parse pointer */ + char *defos; /* default argument for .Os */ int flags; /* parse flags */ #define MDOC_HALT (1 << 0) /* error in parse: halt */ #define MDOC_LITERAL (1 << 1) /* in a literal scope */ |