From owner-cvs-src@FreeBSD.ORG Fri Sep 28 02:31:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0486016A4F5; Fri, 28 Sep 2007 02:31:58 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0D59313C4B8; Fri, 28 Sep 2007 02:31:58 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8S2VvtW015624; Fri, 28 Sep 2007 02:31:57 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8S2Vvi4015623; Fri, 28 Sep 2007 02:31:57 GMT (envelope-from edwin) Message-Id: <200709280231.l8S2Vvi4015623@repoman.freebsd.org> From: Edwin Groothuis Date: Fri, 28 Sep 2007 02:31:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/gnu/usr.bin/man/man man.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 02:31:58 -0000 edwin 2007-09-28 02:31:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) gnu/usr.bin/man/man man.c Log: MFC: Fix man(1) to allow .so to reference a compressed file Original PR description: man(1) can't handle compressed included files. Some ports will install with compressed manpages. man handles this by looking for the .gz version of a man source file. It is also common to include other files with the .so directive where commands or functions share a man page. Traditionally ports have had to handle this by either not compressing the manpages, or using the _MLINKS macro in the port makefile to create symlinks to the actual source file, rather than using .so versions. Notably, the current version of Xorg port breaks. See ports/113096 and ports/115845. PR: bin/115850 Submitted by: Callum Gibson Revision Changes Path 1.62.10.1 +15 -0 src/gnu/usr.bin/man/man/man.c