]> git.cameronkatri.com Git - mandoc.git/commit
Properly handle symlinks (hardlinks and .so only files were already ok):
authorIngo Schwarze <schwarze@openbsd.org>
Sat, 19 Apr 2014 02:30:19 +0000 (02:30 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sat, 19 Apr 2014 02:30:19 +0000 (02:30 +0000)
commita28faa272ac76185bf26ae465660f613bdac74c7
tree41c17f34a947d42a26d161d1ff0686b353c7d9b4
parentc6c090486b119cabb1a49899e858e69c6578816e
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!
mandocdb.c