From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 4 05:30:19 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FAEA106566C for ; Thu, 4 Nov 2010 05:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5E76C8FC08 for ; Thu, 4 Nov 2010 05:30:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA45UJ1U020131 for ; Thu, 4 Nov 2010 05:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA45UJeP020123; Thu, 4 Nov 2010 05:30:19 GMT (envelope-from gnats) Date: Thu, 4 Nov 2010 05:30:19 GMT Message-Id: <201011040530.oA45UJeP020123@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Marcus Reid Cc: Subject: Re: bin/151592: fold(1) segfaults on argument processing X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus Reid List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2010 05:30:19 -0000 The following reply was made to PR bin/151592; it has been noted by GNATS. From: Marcus Reid To: Jean-S?bastien P?dron Cc: bug-followup@FreeBSD.org Subject: Re: bin/151592: fold(1) segfaults on argument processing Date: Wed, 3 Nov 2010 20:55:04 -0800 On Wed, Nov 03, 2010 at 11:05:32PM +0100, Jean-S?bastien P?dron wrote: > Hello! > > Attached is a patch that fixes the segfault for me. Could you please try > it with your use case? > > How to apply the patch: > # cd /usr/src > # patch < /path/to/fold-segfault-a.patch > # cd usr.bin/fold > # make > > You will find a new "fold" binary in this directory or in > /usr/obj/usr/src/usr.bin/fold if you have a buildworld still present. Works for me, and seems to make things more compatible with the GNU version as well. Thanks for looking into this! Marcus