lam silently spills overly long lines

Peter Jeremy peter at rulingia.com
Tue May 19 11:19:52 UTC 2015


On 2015-May-17 13:02:06 +0200, Dirk Engling <erdgeist at erdgeist.org> wrote:
>when working on a set of files quite large files I noticed that lam(1)
>would suddenly start combining lines that clearly don't belong together.
>
>I tracked it down to a single overly long line (with overly meaning >
>BUFSIZ from stdio.h) in one of the files and noticed that in

I think a lot of Unix utilities assume that input lines will not exceed
BUFSIZ and silently split longer lines.  This is usually "good enough"
so fixing it often isn't a high priority.

>I also offer to write the patch.

That would be wonderful.  If you do so, please attach it to a bugzilla PR
(and maybe copy the PR number into this thread).

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150519/42f25080/attachment.sig>


More information about the freebsd-hackers mailing list