Article View: net.sources.bugs
Article #929Re: bug in vn
From: bobm
Date: Wed, 04 Feb 1987 20:01
Date: Wed, 04 Feb 1987 20:01
28 lines
1700 bytes
1700 bytes
OK, we had a discussion on this one a few weeks back. Preventative medicine
like this is a good idea, but you should also go into the gethead() routine
in that same source and replace
if (index(buf,':') == NULL)
with
if (buf[0] == '\n')
To be more correct, you should incorporate a special fgets that folds the
continued header lines, such as someone posted, but given the use being
made of the header lines in this context, it probably won't matter - the
examples I've seen don't fold any relevent lines, and the Subject will
be truncated anyway.
I'm curious about something - vn has been happily running with the original
logic from the first issue of the program, and in my private copies for the
last 3 years. Somebody has just recently started sending out the continued
lines - seemingly all articles from BITNET. I admit that they're allowed
to do so, and that looking for the colon is a bug, but I'd still like to
know what issue of what posting software is generating the folded lines now.
Only from BITNET? Only at 2.11 sites? We're running 2.10.3, and I can't
say that I've ever seen such an article here.
--
Bob McQueer
{amdahl, sun, mtxinu, hoptoad, cpsc6a}!rtech!bobm
Technical Details
Message-ID:
<640@rtech.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!sri-spam!mordor!lll-lcc!ptsfa!amdahl!rtech!bobmReferences:
<411@moncskermit.oz>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!sri-spam!mordor!lll-lcc!ptsfa!amdahl!rtech!bobm From: bobm@rtech.UUCP Newsgroups: net.sources.bugs Subject: Re: bug in vn Message-ID: <640@rtech.UUCP> Date: Wed, 4-Feb-87 15:01:36 EST Article-I.D.: rtech.640 Posted: Wed Feb 4 15:01:36 1987 Date-Received: Sat, 7-Feb-87 10:58:59 EST References: <411@moncskermit.oz> Organization: Relational Technology, Alameda CA Lines: 28