CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/05/15 11:32:25
Modified files:
usr.bin/mandoc : main.c
Log message:
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.