diff options
author | 2012-05-27 17:48:57 +0000 | |
---|---|---|
committer | 2012-05-27 17:48:57 +0000 | |
commit | 5924b5736a3bec0c2ef93ddbd1da733745942d59 (patch) | |
tree | 1df37aca7cb87b5dba851f42f6052cdfcb19f89b /mandoc.h | |
parent | 75264eae65dc293d4a49cd965f67b124bc6fb138 (diff) | |
download | mandoc-5924b5736a3bec0c2ef93ddbd1da733745942d59.tar.gz mandoc-5924b5736a3bec0c2ef93ddbd1da733745942d59.tar.zst mandoc-5924b5736a3bec0c2ef93ddbd1da733745942d59.zip |
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 'mandoc.h')
-rw-r--r-- | mandoc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.99 2012/02/16 20:51:31 joerg Exp $ */ +/* $Id: mandoc.h,v 1.100 2012/05/27 17:48:57 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -413,8 +413,8 @@ int mchars_spec2cp(const struct mchars *, const char *, size_t); const char *mchars_spec2str(const struct mchars *, const char *, size_t, size_t *); -struct mparse *mparse_alloc(enum mparset, - enum mandoclevel, mandocmsg, void *); +struct mparse *mparse_alloc(enum mparset, enum mandoclevel, + mandocmsg, void *, char *); void mparse_free(struct mparse *); void mparse_keep(struct mparse *); enum mandoclevel mparse_readfd(struct mparse *, int, const char *); |