From owner-freebsd-bugs Tue Dec 18 8:46:40 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 1C58737B419; Tue, 18 Dec 2001 08:45:55 -0800 (PST) Received: from sdn-ar-007dcwashp053.dialsprint.net ([63.178.91.37] helo=moo.holy.cow) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16GNNA-0000rO-00; Tue, 18 Dec 2001 08:45:45 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id CBE1350D10; Tue, 18 Dec 2001 04:48:17 -0500 (EST) Date: Tue, 18 Dec 2001 04:48:17 -0500 From: parv To: Ruslan Ermilov Cc: freebsd-bugs@FreeBSD.org Subject: Re: gnu/32954: makewhatis doesn't remove entries for nonexistent manpages by default Message-ID: <20011218044817.A72002@moo.holy.cow> Mail-Followup-To: Ruslan Ermilov , freebsd-bugs@FreeBSD.org References: <200112180830.fBI8U2187650@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112180830.fBI8U2187650@freefall.freebsd.org>; from ru@FreeBSD.org on Tue, Dec 18, 2001 at 12:30:02AM -0800 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 in message <200112180830.fBI8U2187650@freefall.freebsd.org>, wrote Ruslan Ermilov thusly... > > The following reply was made to PR gnu/32954; it has been noted by GNATS. > > From: Ruslan Ermilov > To: parv_@yahoo.com > Cc: bug-followup@FreeBSD.org > Subject: Re: gnu/32954: makewhatis doesn't remove entries for nonexistent manpages by default > Date: Tue, 18 Dec 2001 10:29:05 +0200 > > On Mon, Dec 17, 2001 at 08:16:42PM -0500, parv_@yahoo.com wrote: > > > > freebsd version is 4.4-stable as of 2001.10.03.02.12.13 > > > > below are are the dates & version of makewhatis* files... > > > > 99.08.27.23.36.10 src/gnu/usr.bin/man/makewhatis/makewhatis.local.sh,v 1.7 > > 2001.04.25.14.04.13 src/gnu/usr.bin/man/makewhatis/Makefile,v 1.16.2.2 > > 2001.08.13.09.05.58 src/gnu/usr.bin/man/makewhatis/makewhatis.perl,v 1.21.2.3 > > 2001.08.16.10.14.57 src/gnu/usr.bin/man/makewhatis/makewhatis.1,v 1.14.2.6 > > 2001.08.16.10.14.57 src/gnu/usr.bin/man/makewhatis/makewhatis.local.8,v 1.8.2.3 > > > > 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. ... > Hmm, I have exactly the same versions of files above, and can't > reproduce the problem. I.e., without -a, makewhatis(1) doesn't > pre-open /usr/local/man/makewhatis, but rather does a search of > all manpages, sorts them, outputs them into makewhatis.tmp, and > then renames makewhatis.tmp to makewhatis. Can you please show > me the output of the following command: > > /usr/bin/makewhatis -v /usr/local/man here is the output... Open /usr/local/man/whatis.tmp open manpath directory ``/usr/local/man'' traverse /usr/local/man/man1 ... sort -u > /usr/local/man/whatis.tmp Rename /usr/local/man/whatis.tmp to /usr/local/man/whatis 1420 entries in /usr/local/man/whatis ...indeed it does overwrite the whatis db. i apologize for wasting everybody's time & resources. i suppose i was confused for getting a negative response for "man 3 Tcl_InitStubs" when "man -k tcl_" clearly showed it listed. however i did find it listed under "man 3 TclInitStubs". thanks for the knock on the head. :p -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message