CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2014/04/03 15:45:27
Modified files: usr.bin/mandoc : mandocdb.c Log message: Instead of silently doing nothing at all, warn and return non-zero when the manpath is empty, that is, when /etc/man.conf is non-existent or unreadable AND the environment variable MANPATH is unset or empty AND no directories were given on the command line. Inspired by the error handling in espie@'s makewhatis(8), except that one doesn't know about MANPATH.