From owner-freebsd-bugs Tue Dec 18 20:10:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EBD0F37B41B for ; Tue, 18 Dec 2001 20:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBJ4A2P44359; Tue, 18 Dec 2001 20:10:02 -0800 (PST) (envelope-from gnats) Date: Tue, 18 Dec 2001 20:10:02 -0800 (PST) Message-Id: <200112190410.fBJ4A2P44359@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: gnu/32954: makewhatis doesn't remove entries for nonexistent manpages by default Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR gnu/32954; it has been noted by GNATS. From: "Crist J. Clark" To: parv_@yahoo.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: gnu/32954: makewhatis doesn't remove entries for nonexistent manpages by default Date: Tue, 18 Dec 2001 13:34:20 -0800 On Mon, Dec 17, 2001 at 08:16:42PM -0500, parv_@yahoo.com wrote: > >Description: > > makewhatis doesn't remove entries for nonexistent manpages by > default. i issued this command... > > # cd /usr/local/man > # makewhatis /usr/local/man > > in its manpage, there is no mention of the default behaviour. -v > option would only "issue more warnings"; -a option would append to > the database w/o checking if old entries are valid. > > and that's what puzzles me. i didn't specify the -a option, yet > just that was happening. i had to delete the existing whatis > database so that changes in /usr/local/man would reflect. > > > >How-To-Repeat: > > - create whatis database in an appropriate directory, say, /usr/local/man. > - move the whatis db to other name. > - change /usr/local/man's contents by (re)moving man/cat file(s). > - recreate whatis db and comapare w/ the old version. I can't reproduce this, and I from checking the code I really can't see how this could happen. Are you sure that you are really removing the manpage(s) completely from /usr/local/man (i.e. if the page has multiple links, you'd need to get all of them)? -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message