summaryrefslogtreecommitdiffstats
path: root/att.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-05-03 17:31:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-05-03 17:31:15 +0000
commit07b561eee223a9b63ef21d291c1f7b04abe99fbd (patch)
tree6b0601b412c5546be35a605ea0951bc2a2233ffd /att.c
parent32580ccde20ccd7ea13428587611bd670feabbf0 (diff)
downloadmandoc-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 'att.c')
0 files changed, 0 insertions, 0 deletions