man-db-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

man-db docs/ChangeLog src/encodings.c src/encod...


From: Colin Watson
Subject: man-db docs/ChangeLog src/encodings.c src/encod...
Date: Sun, 07 Sep 2003 18:10:25 -0400

CVSROOT:        /cvsroot/man-db
Module name:    man-db
Branch:         
Changes by:     Colin Watson <address@hidden>   03/09/07 18:10:25

Modified files:
        docs           : ChangeLog 
        src            : encodings.c encodings.h man.c 

Log message:
        Fix decision about whether a given encoding is safe to save as a cat
        page.
        
        * src/encodings.c (directory_table): Add standard_output_encoding
        member, used to set the default encoding for cat pages.
        (fallback_locale_charset): Remove.
        (get_standard_output_encoding): New function.
        (get_locale_charset): New function, split out in modified form
        from get_default_device().
        (get_default_device): Take a character set as input rather than a
        locale.
        * src/encodings.h (get_standard_output_encoding,
        get_locale_charset): Add prototypes.
        (get_default_device): Update prototype.
        * src/man.c (make_roff_command): Instead of comparing devices, test
        that the default character set for this manual hierarchy is being
        used, and don't save cat pages if it isn't.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/docs/ChangeLog.diff?tr1=1.391&tr2=1.392&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/src/encodings.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/man-db/man-db/src/encodings.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.101&tr2=1.102&r1=text&r2=text





reply via email to

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