CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2014/09/09 13:33:55
Modified files: usr.bin/mandoc : mandocdb.c Log message: If a manpath directory (for example, a _whatdb entry from man.conf(5) or an entry in the MANPATH environment variable) does not exist, silently skip it. This brings makewhatis(8) back closer to the behaviour of espie@'s version and ought to shut up the weekly(8) whining observed by henning@ on machines not having xbase installed. Also, don't error out after the first unusable manpath entry, still try the others. Of course, still complain about non-existent directories specified on the command line and about any directories failing for other reasons than ENOENT.