Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Dec 2017 10:42:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223560] man(1) hangs for uncompressed catpages
Message-ID:  <bug-223560-8-5QUWtGD8fe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223560-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223560-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223560

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: bapt
Date: Fri Dec  8 10:42:06 UTC 2017
New revision: 326685
URL: https://svnweb.freebsd.org/changeset/base/326685

Log:
  MFC r326526:

  In case man(1) found a catpage to display skip looking ".so" which is man=
page
  only.

  In case we are trying to read a catpage, the manpage variable is not defi=
ned.
  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

Changes:
_U  stable/11/
  stable/11/usr.bin/man/man.sh

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223560-8-5QUWtGD8fe>