From owner-freebsd-stable Sun Feb 4 13:22: 9 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id EC96837B491 for ; Sun, 4 Feb 2001 13:21:51 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f14LLp816466; Sun, 4 Feb 2001 13:21:51 -0800 (PST) (envelope-from dillon) Date: Sun, 4 Feb 2001 13:21:51 -0800 (PST) From: Matt Dillon Message-Id: <200102042121.f14LLp816466@earth.backplane.com> To: Matt Dillon Cc: Kris Kennaway , Brian Dean , freebsd-stable@FreeBSD.ORG Subject: Proposed makewhatis perl script fix References: <20010203154344.B27418@vger.bsdhome.com> <20010203125044.A40718@xor.obsecurity.org> <200102042108.f14L82U16403@earth.backplane.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This should fix the installworld problems. I'll commit it to -current tonight and MFC it in two days unless people find something wrong with it. It would be nice if someone else could test it first. -Matt Index: makewhatis.perl =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/man/makewhatis/makewhatis.perl,v retrieving revision 1.21 diff -u -r1.21 makewhatis.perl --- makewhatis.perl 1999/09/11 18:21:16 1.21 +++ makewhatis.perl 2001/02/04 21:11:34 @@ -352,6 +352,7 @@ $list .= ' '; } } + while() { } # skip remaining input to avoid pipe errors &out($list); close F; return 1; } elsif (/^\.Sh/ && /^\.Sh[ \t]+["]?($section_name)["]?/) { # ``doc'' style pages @@ -375,9 +376,11 @@ $list .= ' '; } } + while() { } # skip remaining input to avoid pipe errors &out($list); close F; return 1; } elsif(/^\.so/ && /^\.so[ \t]+man/) { + while() { } # skip remaining input to avoid pipe errors close F; return 1; } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message