Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 09:26:21 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/26283: column coredumps on specific input
Message-ID:  <20010402092621.A78914@lanczos.maths.tcd.ie>
In-Reply-To: <200104020820.f328K3j22505@freefall.freebsd.org>; from roam@orbitel.bg on Mon, Apr 02, 2001 at 01:20:03AM -0700
References:  <200104020820.f328K3j22505@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010402092621.A78914>