diff options
author | 2019-05-03 17:31:15 +0000 | |
---|---|---|
committer | 2019-05-03 17:31:15 +0000 | |
commit | feaca3814c803930a197fc98e4de5900cc8516f6 (patch) | |
tree | e273fba075c85084d7820bb80bd54fe46e693a3e /tbl_layout.c | |
parent | 4032441100971dc191efba89224073639c5a9b42 (diff) | |
download | mandoc-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 'tbl_layout.c')
0 files changed, 0 insertions, 0 deletions