[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
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
        * docs/ToDo: Remove entry about cleaning up cat file code, now done.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]