Article View: news.software.readers
Article #35173Re: bug in slrn0.9.4.3 ?
From: Olly Betts
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
48 lines
2097 bytes
2097 bytes
In article <slrn5slghq.vb.byrial@ask.ask>, Byrial Jensen wrote:
>Mike Mckinney <mike@bga.com> wrote:
>>I just noticed that in slrn 0.9.4.3, that the headers will not wrap...
>>Namely, the path line. Is this a bug, or some new feature ?
>>Note, the header does wrap fine in slrn 0.9.4.2 .
>
>A few versions ago (maybe 0.9.4.0?) jed improved the wrapping function
>to only wrap at word boundaries (i.e. spaces or tabs) instead of always
>at the last character on the line.
>
>But he didn't include a check to see if there actually are any wrap
>points in the line to wrap. Such a check came in 0.9.4.3, and if no
>space or tab is found, it gives up wrapping that line.
There's a minor bug in 0.9.4.3 which means that wrapping doesn't happen
properly at tabs. I think this patch will fix it -- let me know either
way:
*** art.c~ Sat Jul 12 21:29:02 1997
--- art.c Tue Jul 15 11:41:52 1997
***************
*** 995,1001 ****
while (buf0 > lbuf)
{
! if ((*buf0 == ' ') || (*buf == '\t'))
{
buf = buf0;
break;
--- 995,1001 ----
while (buf0 > lbuf)
{
! if ((*buf0 == ' ') || (*buf0 == '\t'))
{
buf = buf0;
break;
My guess is that the "Path:" header in question has a tab after the colon,
and no other whitespace, so this bug meant it wasn't getting wrapped.
Cheers,
Olly
--
Don't send a man to do a buoy's job.
Technical Details
Message-ID:
<slrn5sml84.kro.olly@noxious.muscat.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn5skdmt.4s1.mike@apm1-73.realtime.net> <slrn5slghq.vb.byrial@ask.ask>Show Full Headers
Complete Article Headers
Message-ID: <slrn5sml84.kro.olly@noxious.muscat.co.uk> Subject: Re: bug in slrn0.9.4.3 ? Date: Tue, 15 Jul 1997 00:00:00 +0000 From: olly@muscat.co.uk (Olly Betts) References: <slrn5skdmt.4s1.mike@apm1-73.realtime.net> <slrn5slghq.vb.byrial@ask.ask> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 256967736 Mail-Copies-To: always Organization: Muscat Ltd -- http://www.muscat.co.uk/ Newsgroups: news.software.readers