git: man: fix literal file suffix parsing regression

Franco Fichtner franco at crater.dragonflybsd.org
Sun Oct 6 10:34:13 PDT 2013


commit de897c7e9f22aa5a5cd3cad3bc3d91739633a33f
Author: Franco Fichtner <franco at lastsummer.de>
Date:   Sun Oct 6 19:07:27 2013 +0200

    man: fix literal file suffix parsing regression
    
    Some man pages have dots in their names, apparently.  Fixes
    the following invoke:
    
        # man ./man.conf.5
    
    This, however, doesn't fix parsing of e.g. "./man..conf.4.5".
    Instead the suffix list should be searched for a real match
    while also preserving their matching order.  In the meantime,
    please don't do this (ever).
    
    Noticed-by: Thomas Klausner via NetBSD

Summary of changes:
 usr.bin/man/man.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de897c7e9f22aa5a5cd3cad3bc3d91739633a33f


-- 
DragonFly BSD source repository



More information about the Commits mailing list