summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/manpath.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-05-03 17:31:05 +0000
committerschwarze <schwarze@openbsd.org>2019-05-03 17:31:05 +0000
commita231508d4cad5cbb8200a4748e383273e1f7092d (patch)
tree946a908a5a343376c02115dd34bc0d941d53c24a /usr.bin/mandoc/manpath.c
parentAdd a "forwarded" log format that extends the "combined" log format (diff)
downloadwireguard-openbsd-a231508d4cad5cbb8200a4748e383273e1f7092d.tar.xz
wireguard-openbsd-a231508d4cad5cbb8200a4748e383273e1f7092d.zip
In fs_lookup(), use stat(2) rather than access(2) to check file existence.
Some mildly broken real-world packages on some operating systems contain dangling symlinks in manual page directories: pestering the user to run makewhatis(8) makes no sense because that won't help. On the other hand, missing read permissions deserve ugly error messages and are unlikely to occur in practice anyway. Fixing an issue reported by Lorenzo Beretta <loreb at github> as part of https://github.com/void-linux/void-packages/issues/9868 .
Diffstat (limited to 'usr.bin/mandoc/manpath.c')
0 files changed, 0 insertions, 0 deletions