diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-11-05 20:55:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-11-05 20:55:41 +0000 |
commit | bdcb15a7e65b5df030d7dac778cb68ac4e3277e6 (patch) | |
tree | 4b424783c27e890ca8503354502bbe03b3603299 /mandoc_aux.c | |
parent | bc4c8866b7e528690753ded27b93b99e21bdc614 (diff) | |
download | mandoc-bdcb15a7e65b5df030d7dac778cb68ac4e3277e6.tar.gz |
Use include files "header.html" and "footer.html" rather than a
compiled-in string. This is not a security risk, we read the file
manpath.conf from the same directory, anyway. No error handling
is needed; even if the files are absent, that's not an error.
This is more flexible without causing complication of the code or
the user interface. It helps the upcoming revamp of the online
manual pages on man.NetBSD.org.
Based on an idea by Jean-Yves Migeon <jeanyves dot migeon at free dot fr>,
but implemented in a much simpler way.
Diffstat (limited to 'mandoc_aux.c')
0 files changed, 0 insertions, 0 deletions