store the operating system name obtained from uname(3) in the adequate
authorschwarze <schwarze@openbsd.org>
Mon, 4 Oct 2021 14:18:42 +0000 (14:18 +0000)
committerschwarze <schwarze@openbsd.org>
Mon, 4 Oct 2021 14:18:42 +0000 (14:18 +0000)
commit8055da743735f19695a9b0bf32b7f10875d7ca8b
treea830a44cbde45ce1bb66e205235ccbfc904be3a3
parentc81589c7f9929203f823c45bed2f7ba82435a24d
store the operating system name obtained from uname(3) in the adequate
struct together with similar state date rather than in a function-scope
static variable, such that it can be free(3)d in roff_man_free();
no functional change
usr.bin/mandoc/mdoc_validate.c
usr.bin/mandoc/roff.c
usr.bin/mandoc/roff_int.h