From owner-freebsd-current@FreeBSD.ORG Sat Oct 2 12:51:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 792EC16A4CE for ; Sat, 2 Oct 2004 12:51:28 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 324C143D2F for ; Sat, 2 Oct 2004 12:51:28 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by mproxy.gmail.com with SMTP id 79so3712598rnk for ; Sat, 02 Oct 2004 05:51:22 -0700 (PDT) Received: by 10.38.126.4 with SMTP id y4mr867218rnc; Sat, 02 Oct 2004 05:51:22 -0700 (PDT) Received: by 10.38.75.49 with HTTP; Sat, 2 Oct 2004 05:51:22 -0700 (PDT) Message-ID: <790a9fff0410020551f571ceb@mail.gmail.com> Date: Sat, 2 Oct 2004 07:51:22 -0500 From: Scot Hetzel To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: catman not creating cat pages for machine specific man pages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 12:51:28 -0000 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. http://www.freebsd.org/cgi/query-pr.cgi?pr=72243 Scot