summaryrefslogtreecommitdiffstats
path: root/mdoc_term.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
commit7ba711ac36ba8542cdb04d6e3e499c4304a94220 (patch)
treed52b339c42aac33c738b336621b0d907219213f3 /mdoc_term.c
parent3c3163f61e1d08e084c2481ef1a6b7da8362fe30 (diff)
downloadmandoc-7ba711ac36ba8542cdb04d6e3e499c4304a94220.tar.gz
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 'mdoc_term.c')
0 files changed, 0 insertions, 0 deletions