solaris 2.5 long lines [was: environmental issues]

David Relson relson at osagesoftware.com
Mon Aug 4 15:25:19 CEST 2003


At 05:29 AM 8/4/03, Matthias Andree wrote:

> > Solaris 2.5
> >
> >       lines longer than 4096 chars get split (under uncertain
> >       circumstances) and only the end part gets processed
>
>Where exactly does the split happen? stdio functions or external command
>line tools?

Matthias,

I had Bob run "t.bulkmode -v" from bogofilter/src/tests/bogofilter, create 
a tarball of the output directory (bulkmode.20030802), and send that.  File 
msg.2.txt was 7,559 chars, when it should have been 10,786.  Line 72 is 
supposed to be 4,374 chars, but his copy has the last 1155 characters of 
it.  I don't know how or why the leading characters got removed.

The workaround is to change the long line into shorter lines.  The change 
has no effect on the regression test results :-)

As another bit of evidence, I was able to access his machine and, using vi, 
tried to join the 3 line segments back into 1 long line.  vi complained 
that the line was too long.

Hope this helps.

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: msg.2.txt.gz
Type: application/octet-stream
Size: 2611 bytes
Desc: not available
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20030804/40acab75/attachment.obj>


More information about the Bogofilter mailing list