[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
man-db docs/ChangeLog docs/ToDo src/convert_nam...
From: |
Colin Watson |
Subject: |
man-db docs/ChangeLog docs/ToDo src/convert_nam... |
Date: |
Sun, 16 Nov 2003 16:30:24 -0500 |
CVSROOT: /cvsroot/man-db
Module name: man-db
Branch:
Changes by: Colin Watson <address@hidden> 03/11/16 16:30:23
Modified files:
docs : ChangeLog ToDo
src : convert_name.c convert_name.h man.c
Log message:
* src/convert_name.c (convert_name): Reorganize and clarify. The
alternate argument was confusing and is now gone. Add a new fsstnd
argument which controls whether the "man1" to "cat1" etc.
conversion is performed. That conversion now makes sure that the
directory name starts with "man" before blithely overwriting it.
Treat comp->file as const, since it will be soon.
* src/convert_name.h (convert_name): Update prototype.
* src/man.c (find_cat_file): New logic. First, check for existing
FSSTND cat files; then check for a cat dir based on the ultimate
source, if different from the original (Debian bug #129575); then
check for a cat dir based on the original man page path.
(display): Drop the !local_man_file case which tries to work out
whether to save a cat, as it's not a problem to try regardless of
whether there's already one in a FSSTND location.
(display_filesystem, display_database): Add extra argument to
find_cat_file() so that it knows the original man page path as
distinct from the ultimate source.
(display_filesystem): Remove debugging output, now in
find_cat_file().
* docs/ToDo: Remove entry about cleaning up cat file code, now done.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/docs/ChangeLog.diff?tr1=1.422&tr2=1.423&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/docs/ToDo.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/src/convert_name.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/src/convert_name.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/src/man.c.diff?tr1=1.107&tr2=1.108&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- man-db docs/ChangeLog docs/ToDo src/convert_nam...,
Colin Watson <=