diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-15 17:32:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-05-15 17:32:26 +0000 |
commit | c2c62a88f6f9d56daa2265e1476dbf15d196f99c (patch) | |
tree | 89b797a223b6f03bb47b9c12e5505b0ee1238587 /usr.bin/mandoc/mandoc.c | |
parent | cf7f7beef09cac77f6c9235e61abbbacd7f4b06b (diff) |
Bugfxing and cleanup by Joerg Sonnenberger, edited by kristaps@:
* Flag errors and warnings in global variables.
* Exit with error code if either is not null on exit.
* Push down the buffers to the functions using them.
* Handle the stdin/file argument in one function.
* Use mmap when possible or else read the whole file into a single buffer.
* Push buffer resizing into its own function.
Diffstat (limited to 'usr.bin/mandoc/mandoc.c')
0 files changed, 0 insertions, 0 deletions