CVS: cvs.openbsd.org: src
Ingo Schwarze <[email protected]>
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/08/24 13:56:01 Modified files: usr.bin/mandoc : mandocdb.c Log message: Slightly improve error reporting in two respects: 1. In the error reporting function, if the file argument is absolute, ignore the basedir. This makes it easier and more robust to talk about absolute paths, which are typically below /tmp/. 2. Report dba_write failure. Even if the data did not actually change, the user almost certainly wants to know about the problem because it's hard to see how it could be intentional to ask makewhatis(8) to change a database it cannot write to.