🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #280

nntpxfer bug

#280
From: Jean Marie Diaz
Date: Mon, 18 Sep 1989 03:00
30 lines
1433 bytes

I note that NNTP 1.5.6 does not have my nntpxfer patch -- perhaps I sent
it in too late.  At any rate, here it is.

Some kind soul in Japan pointed out to me that nntpxfer loses (silently)
one article per invocation due to a fencepost error.  Patch follows.

				 AMBAR
ambar@bloom-beacon.mit.edu		   {mit-eddie,uunet}!bloom-beacon!ambar

*** /tmp/,RCSt1a12568   Sun Sep 17 22:59:27 1989
--- nntpxfer.c  Sat Sep 16 00:11:31 1989
***************
*** 290,296 ****
  #endif

        /* now that we know which articles we want, retrieve them */
!       for (i=1; i < newart; i++)
                (void) artfetch(artlist[i]);

  #ifdef DEBUG
--- 290,296 ----
  #endif

        /* now that we know which articles we want, retrieve them */
!       for (i=0; i < newart; i++)
                (void) artfetch(artlist[i]);

  #ifdef DEBUG
Technical Details
Message-ID: <AMBAR.89Sep17230032@hodge.MIT.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!bloom-beacon!ambar

Show Full Headers
Complete Article Headers
Message-ID: <AMBAR.89Sep17230032@hodge.MIT.EDU>
Subject: nntpxfer bug
Date: Mon, 18 Sep 1989 03:00:32 +0000
From: ambar@bloom-beacon.mit.edu (Jean Marie Diaz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!bloom-beacon!ambar
Newsgroups: news.software.nntp
Summary: fencepost error, patch included
Organization: Madhouse International Technologies
Lines: 29