Treat the argument as a file name only if it contains a '/'.
authorSascha Wildner <swildner@dragonflybsd.org>
Fri, 4 Apr 2008 19:25:46 +0000 (19:25 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Fri, 4 Apr 2008 19:25:46 +0000 (19:25 +0000)
commit092dad06ca7819433dfa1f48e94a875c282536b5
tree33e25f188ea92db9d1e1addea7aeeaa65d12a3bf
parent1412a1370b2dc097dddb04949807e08af5b3efd8
Treat the argument as a file name only if it contains a '/'.

This catches the case where a user would do 'man foo' from a directory
which contains a file named foo.
gnu/usr.bin/man/man/man.c
gnu/usr.bin/man/man/man.man