Article View: news.software.readers
Article #4769nov update: typo in libnov/lib.c fixed
From: Geoff Collyer
Date: Thu, 01 Jul 1993 00:20
Date: Thu, 01 Jul 1993 00:20
23 lines
1797 bytes
1797 bytes
world.std.com:src/news/nov.dist.tar.Z has been updated to incorporate
this fix for a silly but hard-to-spot typo, found by Wolfgang Rupprech:
:; diff -c lib.buggy.c lib.c
*** lib.buggy.c Wed Jun 30 20:18:00 1993
--- lib.c Wed Jun 30 19:37:10 1993
***************
*** 131,137 ****
if (len > 0 && line[len-1] == '\n')
line[len-1] = '\0'; /* make field count straightforward */
nf = split(line, fields, MAXFIELDS, "\t");
! if (nf < MAXFIELDS - 1) /* only "others" fields are optional
return PRSBAD; /* skip this line */
while (nf < MAXFIELDS)
fields[nf++] = ""; /* fake missing fields */
--- 131,137 ----
if (len > 0 && line[len-1] == '\n')
line[len-1] = '\0'; /* make field count straightforward */
nf = split(line, fields, MAXFIELDS, "\t");
! if (nf < MAXFIELDS - 1) /* only "others" fields are optional */
return PRSBAD; /* skip this line */
while (nf < MAXFIELDS)
fields[nf++] = ""; /* fake missing fields */
Technical Details
Message-ID:
<C9GM9y.A5v@well.sf.ca.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!nigel.msen.com!well!geoffShow Full Headers
Complete Article Headers
Message-ID: <C9GM9y.A5v@well.sf.ca.us> Subject: nov update: typo in libnov/lib.c fixed Date: Thu, 1 Jul 1993 00:20:21 GMT From: geoff@well.sf.ca.us (Geoff Collyer) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!nigel.msen.com!well!geoff Newsgroups: news.software.b,news.software.readers Sender: news@well.sf.ca.us Nntp-Posting-Host: well.sf.ca.us Organization: The Whole Earth 'Lectronic Link, Sausalito, CA Lines: 23