From owner-freebsd-bugs Mon Apr 2 1:26:27 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id B011137B718 for ; Mon, 2 Apr 2001 01:26:24 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from lanczos.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 2 Apr 2001 09:26:22 +0100 (BST) Date: Mon, 2 Apr 2001 09:26:21 +0100 From: David Malone To: Peter Pentchev Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/26283: column coredumps on specific input Message-ID: <20010402092621.A78914@lanczos.maths.tcd.ie> References: <200104020820.f328K3j22505@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104020820.f328K3j22505@freefall.freebsd.org>; from roam@orbitel.bg on Mon, Apr 02, 2001 at 01:20:03AM -0700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Apr 02, 2001 at 01:20:03AM -0700, Peter Pentchev wrote: > Could you try the following patch? It works for me.. > (As a side point, maybe the tab-size should be configurable.. but that's > another battle ;) I think that this leaves the problem open in some other cases. Try: echo "aaaaaaaaaaaa" | ./column -c 15 maxlength probably needs to be rounded up to the nearest tabstop before the test is carried out. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message