version 1.129, 2017/06/17 16:47:48 |
version 1.131, 2017/06/24 14:38:32 |
Line 170 check_root(CHKARGS) |
|
Line 170 check_root(CHKARGS) |
|
man->meta.date = man->quick ? mandoc_strdup("") : |
man->meta.date = man->quick ? mandoc_strdup("") : |
mandoc_normdate(man, NULL, n->line, n->pos); |
mandoc_normdate(man, NULL, n->line, n->pos); |
} |
} |
|
|
|
if (man->meta.os_e && |
|
(man->meta.rcsids & (1 << man->meta.os_e)) == 0) |
|
mandoc_msg(MANDOCERR_RCS_MISSING, man->parse, 0, 0, |
|
man->meta.os_e == MANDOC_OS_OPENBSD ? |
|
"(OpenBSD)" : "(NetBSD)"); |
} |
} |
|
|
static void |
static void |
Line 336 post_TH(CHKARGS) |
|
Line 342 post_TH(CHKARGS) |
|
|
|
if (n && (n = n->next)) |
if (n && (n = n->next)) |
man->meta.os = mandoc_strdup(n->string); |
man->meta.os = mandoc_strdup(n->string); |
else if (man->defos != NULL) |
else if (man->os_s != NULL) |
man->meta.os = mandoc_strdup(man->defos); |
man->meta.os = mandoc_strdup(man->os_s); |
|
if (man->meta.os_e == MANDOC_OS_OTHER && man->meta.os != NULL) { |
|
if (strstr(man->meta.os, "OpenBSD") != NULL) |
|
man->meta.os_e = MANDOC_OS_OPENBSD; |
|
else if (strstr(man->meta.os, "NetBSD") != NULL) |
|
man->meta.os_e = MANDOC_OS_NETBSD; |
|
} |
|
|
/* TITLE MSEC DATE OS ->VOL<- */ |
/* TITLE MSEC DATE OS ->VOL<- */ |
/* If missing, use the default VOL name for MSEC. */ |
/* If missing, use the default VOL name for MSEC. */ |