CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2011/12/08 18:47:11
Modified files: usr.bin/mandoc : mandocdb.c Log message: Improve parsing of preformatted manuals: * If the first section is empty, reuse the file name as the description. * Strip backspace encoding from the description. * Make the loops more readable using string(3) functions. * Put fclose() at the end, as line isn't valid afterwards. >From kristaps@, tweaked a bit by me.