CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2010/09/27 15:25:28
Modified files: usr.bin/mandoc : Makefile html.c main.c mandoc.c mandoc.h mdoc.c mdoc_html.c mdoc_term.c mdoc_validate.c roff.c term_ps.c Log message: Merge the last bits of 1.10.6 (released today), most were already in: * ignore double-.Pp * ignore .Pp before .Bd and .Bl (unless -compact in specified) * avoid double blank line upon .Pp, .br and friends in literal context * cast enums to int when passing them to exit(3) to please lint(1) While merging, fix a regression introduced by kristaps@: Outside literal mode, double blank lines must both be printed. To achieve this again after kristaps@ improvements in 1.10.6, treat such blank lines as .sp (instead of .Pp as in 1.10.5) and drop .Pp before .sp just like dropping .Pp before .Pp.