catman not creating cat pages for machine specific man pages

Scot Hetzel swhetzel at
Sat Oct 2 05:51:28 PDT 2004

I noticed a bug in catman, where it doesn't create the machine
specific man pages.  Tryig to figure this out, I noticed that the code
between catman and makewhatis is similar, and that revision 1.2 of
makewhatis fixed the program to create the whatis entries for the
machine specific man pages.

Based on the makewhatis fix, I have created a fix for the catman pages.

To reproduce the problem execute the following sequence:

ls /usr/share/man/{man,cat}8/i386 ; echo catman | nice -5 su -m man ;
ls /usr/share/man/{man,cat}8/i386

You'll see that catman doesn't create any cat pages in the cat8/i386 directory.

After appling the patch in PR 72243, the cat pages are created in the
machine specific directories.


More information about the freebsd-current mailing list