🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4010

Re: Tin 1.1pl9 + NOV/INN1.4 XOVERVIEW patches

#4010
From: Stephen Williams
Date: Wed, 28 Apr 1993 18:52
64 lines
2743 bytes
An additional patch: (apply after last full patch)

*** art.c	Wed Apr 28 14:50:33 1993
--- ../tin119/art.c	Wed Apr 28 14:30:10 1993
***************
*** 768,774 ****
  	char *group_name;
  {
  	char oartn[40], osub[255], oaddr[255], oauth[255], odate[45], obuf[4096*2];
! 	int overviewflag = 0;
  
  	char buf[4096*2], *p;
  	int error = 0;
--- 768,774 ----
  	char *group_name;
  {
  	char oartn[40], osub[255], oaddr[255], oauth[255], odate[45], obuf[4096*2];
! 	int overviewflag = 0, use_buf = 1;
  
  	char buf[4096*2], *p;
  	int error = 0;
***************
*** 826,832 ****
  		       arts read, if needed */
  		    if (overviewflag > 1 && fgets(obuf, sizeof obuf, fp) == NULL) break;
  		    else {
! 			if (overviewflag == 1) strcpy(obuf, buf);
  			overviewflag++;
  		    }
  		    /* This handles partial record read.... */
--- 826,832 ----
  		       arts read, if needed */
  		    if (overviewflag > 1 && fgets(obuf, sizeof obuf, fp) == NULL) break;
  		    else {
! 			if (use_buf) { strcpy(obuf, buf); use_buf = 0; }
  			overviewflag++;
  		    }
  		    /* This handles partial record read.... */
***************
*** 888,894 ****
  		    }
  		    sprintf(odate, "%d",
  			    parsedate (cp2, (struct _TIMEINFO *) 0));
! 		    if (!strcmp(oauth, " ") || !strcmp(osub, " ")) {
  			overviewflag--; continue;
  		    }
  		}
--- 888,896 ----
  		    }
  		    sprintf(odate, "%d",
  			    parsedate (cp2, (struct _TIMEINFO *) 0));
! 		    /* handle bad results, especially 0 for art num */
! 		    if (!strcmp(oartn, "0") || !strcmp(oaddr, " ") ||
! 			!strcmp(osub, " ")) {
  			overviewflag--; continue;
  		    }
  		}

sdw
--
Stephen D. Williams  Local Internet Gateway Co.; SDW Systems 513 496-5223APager
LIG dev./sales       Internet: sdw@world.std.com CIS 76244.210@compuserve.com
OO R&D Source Dist.  By Horse: 2464 Rosina Dr., Miamisburg, OH 45342-6430
GNU Support          ICBM: 39 34N 85 15W I love it when a plan comes together
Technical Details
Message-ID: <1rmjq3$mdt@meaddata.meaddata.com>
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!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!uunet!meaddata!sdw
References: <1rjr58$ohu@meaddata.meaddata.com>

Show Full Headers
Complete Article Headers
Message-ID: <1rmjq3$mdt@meaddata.meaddata.com>
Subject: Re: Tin 1.1pl9 + NOV/INN1.4 XOVERVIEW patches
Date: Wed, 28 Apr 1993 18:52:51 +0000
From: sdw@meaddata.com (Stephen Williams)
References: <1rjr58$ohu@meaddata.meaddata.com>
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!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!uunet!meaddata!sdw
Newsgroups: news.software.readers
Organization: Mead Data Central, Dayton OH
Lines: 64
NNTP-Posting-Host: bugatti.meaddata.com
X-Newsreader: TIN [version 1.1 PL9]