Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src/usr.bin/man
"Alan Barrett" writes:
> Module Name: src
> Committed By: apb
> Date: Thu Aug 14 15:31:12 UTC 2014
>
> Modified Files:
> src/usr.bin/man: man.c
>
> Log Message:
> For an argument to be interpreted as a local file name, bypassing the
> search rules in man.conf or MANPATH, it must begin with "/", "./", or
> "../". Simply testing whether it contains "/" is wrong, because it
> breaks usage like "man 8 vax/boot".
>
> This reverts revision 1.57 dated 2013-10-06,
> "Be more permissive in interpreting man pages as filenames".
what about trying to stat() it and use it, as a last resort?
it's always kind of bothered me "man file.1" doesn't work,
and the "./" workaround always seems sleezy.
.mrg.
Home |
Main Index |
Thread Index |
Old Index