CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2010/12/20 18:22:00
Modified files: usr.bin/mandoc : main.c Log message: Sane behaviour for the growing of very small buffers: Always grow at least to the minimum requested size. Before this, a buffer of 1 byte was grown to 2 bytes, which was too small and sometimes caused segfaults. ok kristaps@