Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 20:10:02 -0800 (PST)
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: gnu/32954: makewhatis doesn't remove entries for nonexistent manpages by default
Message-ID:  <200112190410.fBJ4A2P44359@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/32954; it has been noted by GNATS.

From: "Crist J. Clark" <cristjc@earthlink.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112190410.fBJ4A2P44359>