The following reply was made to PR bin/151592; it has been noted by GNATS.
From: Marcus Reid <mar...@blazingdot.com>
To: Jean-S?bastien P?dron <jean...@dumbbell.fr>
Cc: bug-...@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