diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-05-03 17:31:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-05-03 17:31:15 +0000 |
commit | 07b561eee223a9b63ef21d291c1f7b04abe99fbd (patch) | |
tree | 6b0601b412c5546be35a605ea0951bc2a2233ffd /regress/roff/ce | |
parent | 32580ccde20ccd7ea13428587611bd670feabbf0 (diff) | |
download | mandoc-07b561eee223a9b63ef21d291c1f7b04abe99fbd.tar.gz |
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 'regress/roff/ce')
0 files changed, 0 insertions, 0 deletions