CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/01/09 23:27:23

Modified files:
        usr.bin/mandoc : main.c mandoc_msg.c 

Log message:
Initializers for file-scope static variables should be compile-time
constants, and while stderr is a compile-time constant in OpenBSD,
Kelvin Sherlock <ksherlock at gmail dot com> reports that it isn't
on some other systems, for example on FreeBSD or Linux.
So do the initialization by calling mandoc_msg_setoutfile()
from main() instead.

Reply via email to