Hi all, while testing Ingo's latest patch I found a segfault in makewhatis involving -a and symlinks which I can also reproduce on unpatched CVS. To reproduce do something like this mkdir test-manpath mkdir -p test-manpath/de/man1 ln -sf $(realpath test-manpath/de) test-manpath/DE So we have a base directory which has one child that is a symlink. This symlink points to a directory below the base directory which contains another directory. Running makewhatis -a test-manpath will then segfault with the following backtrace: #0 0x000000000041a9e1 in dbadd (dba=dba@entry=0x471050, mpage=mpage@entry=0x473560) at mandocdb.c:2140 #1 0x000000000041b0ae in mpages_merge (dba=dba@entry=0x471050, mp=mp@entry=0x46c2b0) at mandocdb.c:1294 #2 0x000000000041ca13 in mandocdb (argc=1, argc@entry=3, argv=, argv@entry=0x7fffffffd678) at mandocdb.c:513 #3 0x000000000041dffa in main (argc=3, argv=0x7fffffffd678) at main.c:165 Full backtrace is attached as well. I've stared at mpages_merge for a little bit, but haven't figured out how this is happening so far. Cheers, Lukas