[Bug 223560] man(1) hangs for uncompressed catpages
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 4 12:34:08 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223560
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: bapt
Date: Mon Dec 4 12:33:46 UTC 2017
New revision: 326526
URL: https://svnweb.freebsd.org/changeset/base/326526
Log:
In case man(1) found a catpage to display skip looking ".so" which is manpage
only.
In case we are trying to read a catpage, the manpage variable is not defined.
It results in the "cattool" having no arguments.
In case the catpage is compressed, the cattool used is "zcat" which dies if
the
standard input is a terminal, meaning the function calling it is exiting as
if
there were no ".so"
In case the catpage is uncompressed, the cattool used is "zcat -f" which
waits
reading standard input, making the man(1) command hang.
PR: 223560
Reported by: wosch
MFC after: 3 days
Changes:
head/usr.bin/man/man.sh
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list