aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/gmdiff
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
commitfeaca3814c803930a197fc98e4de5900cc8516f6 (patch)
treee273fba075c85084d7820bb80bd54fe46e693a3e /gmdiff
parent4032441100971dc191efba89224073639c5a9b42 (diff)
downloadmandoc-feaca3814c803930a197fc98e4de5900cc8516f6.tar.gz
mandoc-feaca3814c803930a197fc98e4de5900cc8516f6.tar.zst
mandoc-feaca3814c803930a197fc98e4de5900cc8516f6.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 'gmdiff')
0 files changed, 0 insertions, 0 deletions