🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #665

Re: How to unblock BLOCKED groups? (Patch 8 included)

#665
From: Kim F. Storm
Date: Tue, 20 Feb 1990 08:54
92 lines
3268 bytes
mr@cica.cica.indiana.edu (Michael Regoli) writes:

>NN (6.3.7 #61) has been acting very flaky lately.

Well 6.3.7 has ALWAYS been flaky - that is why there is a patch 8
to fix it.  The patch is very small and MUST be applied to all
6.3.7!  It is included below.

This is patch #8 to nn release 6.3.

This patch redo the fixes for the "long From: line bug" that was also
fixed in patch 6, but unfortunately "reverted" by patch 7 to align it
with the release 6.3.7 made available via anon-ftp before patch 6 was
posted.  See also patchlevel.h.

++Kim Storm

--------------------- CUT HERE ----------------------
*** /usr/storm/nn6.3.7/patchlevel.h	Fri Sep  8 12:46:52 1989
--- patchlevel.h	Fri Sep 15 19:05:47 1989
***************
*** 15,21 ****
   *	1989-08-22:  Patch 5: db.c
   *	1989-08-25:  Patch 6: admin.c pack_date.c
   *	1989-09-08:  Patch 7: several files
   */
  
! #define PATCHLEVEL 7
  
--- 15,34 ----
   *	1989-08-22:  Patch 5: db.c
   *	1989-08-25:  Patch 6: admin.c pack_date.c
   *	1989-09-08:  Patch 7: several files
+  *
+  *	NOTICE: Release 6.3.7 was distributed for anon-ftp before patch 6
+  *		was officially released on usenet.  Unfortunately, the
+  *		patch posted as #6 is not the patch #6 indicated above,
+  *		because the "Long From: line bug" fixed by the posted  
+  *		patch #6 was still present in the 6.3.7 available via ftp.
+  *
+  *	Therefore, future patches relating to 6.3.7 will use the normal
+  *	patch numbering scheme, while future patches to the originally
+  *	posted nn will be numbered 61, 62, etc. (if any - which I don't 
+  *	hope).
+  *
+  *	1989-09-15:  Patch 8: pack_name.c nntp.c
   */
  
! #define PATCHLEVEL 8
  

*** /usr/storm/nn6.3.7/pack_name.c	Fri Sep  8 12:46:52 1989
--- pack_name.c	Mon Sep 11 12:37:16 1989
***************
*** 183,188 ****
--- 183,189 ----
  	return 0;
  
      p = source, q = namebuf, n = 0;
+     maxq = namebuf + sizeof namebuf - 1;
      
  new_partition:
      for (i = SEP_MAXIMUM; --i >= 0; separator[i] = NULL);
***************
*** 211,216 ****
--- 212,218 ----
  	    continue;
  	}
  	if (n > 1) continue;
+ 	if (q >= maxq) break;
  	*q++ = c;
  	if (IS_SEPARATOR(c)) {
  	    switch (sep = (Class[c] & 0xff)) {

*** /usr/storm/nn6.3.7/nntp.c	Fri Sep  8 12:46:51 1989
--- nntp.c	Fri Sep 15 13:54:28 1989
***************
*** 44,49 ****
--- 44,51 ----
  
  import int errno, sys_nerr;
  import char *sys_errlist[];
+ extern int user_error();
+ extern int sys_error();
  
  #define syserr() (errno >= 0 && errno < sys_nerr ? \
  		  sys_errlist[errno] : "Unknown error.")

-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Technical Details
Message-ID: <471@texas.dk>
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!eru!luth!sunic!dkuug!tidk!storm
References: <471@cica.cica.indiana.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!eru!luth!sunic!dkuug!tidk!storm
From: storm@texas.dk (Kim F. Storm)
Newsgroups: news.software.nn
Subject: Re: How to unblock BLOCKED groups?  (Patch 8 included)
Message-ID: <471@texas.dk>
Date: 20 Feb 90 08:54:35 GMT
References: <471@cica.cica.indiana.edu>
Organization: Texas Instruments, Denmark
Lines: 92