aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-04-19 02:30:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-04-19 02:30:19 +0000
commita28faa272ac76185bf26ae465660f613bdac74c7 (patch)
tree41c17f34a947d42a26d161d1ff0686b353c7d9b4 /manpath.c
parentc6c090486b119cabb1a49899e858e69c6578816e (diff)
downloadmandoc-a28faa272ac76185bf26ae465660f613bdac74c7.tar.gz
mandoc-a28faa272ac76185bf26ae465660f613bdac74c7.tar.zst
mandoc-a28faa272ac76185bf26ae465660f613bdac74c7.zip
Properly handle symlinks (hardlinks and .so only files were already ok):
Use the file name of the symlink but the inode number of the file pointed to, such that we get multiple mlinks records but not multiple mpages records. Also make sure they do not point outside the tree we are processing. Issue found by kili@ in desktop-file-edit(1), thanks!
Diffstat (limited to 'manpath.c')
0 files changed, 0 insertions, 0 deletions