diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 18:36:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 18:36:35 +0000 |
commit | eb9e2934b8348c51d01cc87f4d2ab21263627cf3 (patch) | |
tree | d453fd594ce23528934b318370906ad0e63324ef /mdoc_validate.c | |
parent | e648fcd63ca4a6932755144a7cfaad0a3f55cffa (diff) | |
download | mandoc-eb9e2934b8348c51d01cc87f4d2ab21263627cf3.tar.gz |
Retire support for CSRG supplementary document titles. These are
long obsolete and were never written in mdoc(7) in the first place.
Removes 100 lines from source files.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index adba1204..18946b52 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -2280,19 +2280,9 @@ post_dt(POST_ARGS) mdoc->meta.msec = mandoc_strdup(nn->string); } - if (NULL == (nn = nn->next)) - goto out; - - /* - * If the third argument is a volume name, format is, - * otherwise assume it's an architecture. - */ + /* Handle an optional architecture */ - cp = mdoc_a2vol(nn->string); - if (cp) { - free(mdoc->meta.vol); - mdoc->meta.vol = mandoc_strdup(cp); - } else { + if ((nn = nn->next) != NULL) { for (p = nn->string; *p; p++) *p = tolower((unsigned char)*p); mdoc->meta.arch = mandoc_strdup(nn->string); |