🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Dan LeGate Sun, 31 Dec 1995 00:00
tin - "Bad overview" records????
#17696
Author: Dan LeGate
Date: Sun, 31 Dec 1995 00:00
11 lines
890 bytes
In tin when entering a newsgroup, I often get "Bad overview" messages 
like this:

Bad overview record 'sys.mac.games.action:12150

What does this mean?  Do I need to correct it, or is it simply 
informational?

Dan

Re: tin - "Bad overview" records????
#17691
Author: Michael S. Scheidell
Date: Sun, 31 Dec 1995 00:00
19 lines
1464 bytes
Dan LeGate (dlegate@rsa.csuhayward.edu) wrote:
: In tin when entering a newsgroup, I often get "Bad overview" messages 
: like this:

: Bad overview record 'sys.mac.games.action:12150

: What does this mean?  Do I need to correct it, or is it simply 
: informational?

The news admin needs to rebuild the overview records.
There is nothing the user can do but email him ? postmaster@csu.net?

-- 
Michael S. Scheidell                    Florida Datamation, Inc. 
<mailto:scheidell@fdma.com>             <http://www.fdma.com/>
Distributors of QNX Real Time OS        (407) 241-2966
Panic:     /spool/washington corrupted, Country Halted.

Re: tin - "Bad overview" records????
#17692
Author: Tim Pierce
Date: Sun, 31 Dec 1995 00:00
198 lines
5457 bytes
In article <4c6shc$eun@nuke.csu.net>,
Dan LeGate <dlegate@rsa.csuhayward.edu> wrote:

>In tin when entering a newsgroup, I often get "Bad overview" messages 
>like this:
>
>Bad overview record 'sys.mac.games.action:12150
>
>What does this mean?  Do I need to correct it, or is it simply 
>informational?

It's a bug in tin.

You could try this patch (tin 1.2 PL2); I wrote it but have not
tested it.

*** art.c.orig	Wed Dec 13 12:24:43 1995
--- art.c	Sun Dec 17 10:04:52 1995
***************
*** 1137,1143 ****
  	long max;
  {
   	char	*p, *q;
! 	char	buf[1024];
   	char	art_full_name[LEN];
  	char	art_from_addr[LEN];
  	FILE	*fp;
--- 1137,1143 ----
  	long max;
  {
   	char	*p, *q;
! 	char	*buf;
   	char	art_full_name[LEN];
  	char	art_from_addr[LEN];
  	FILE	*fp;
***************
*** 1152,1159 ****
  		return FALSE;
  	}
   
! 	while (fgets (buf, sizeof (buf), fp) != (char *) 0) {
  		if (strcmp (buf, ".") == 0) {
  			break;
  		}
   
--- 1152,1160 ----
  		return FALSE;
  	}
   
! 	while ((buf = safe_fgets (fp)) != (char *) 0) {
  		if (strcmp (buf, ".") == 0) {
+ 			free (buf);
  			break;
  		}
   
***************
*** 1173,1178 ****
--- 1174,1180 ----
  		q = strchr (p, '\t');
  		if (q == (char *) 0) {
  			error_message ("Bad overview record '%s'", buf);
+ 			free (buf);
  			continue;
  		} else {
  			p = q + 1;
***************
*** 1185,1190 ****
--- 1187,1193 ----
  		if (q == (char *) 0) {
  			error_message ("Bad overview record (Subject) '%s'", p);
  			debug_nntp ("read_xover_file", "Bad overview record (Subject)");
+ 			free (buf);
  			continue;
  		} else {
  			*q = '\0';
***************
*** 1199,1204 ****
--- 1202,1208 ----
  		if (q == (char *) 0) {
  			error_message ("Bad overview record (From) '%s'", p);
  			debug_nntp ("read_xover_file", "Bad overview record (From)");
+ 			free (buf);
  			continue;
  		} else {
  			*q = '\0';
***************
*** 1217,1222 ****
--- 1221,1227 ----
  		if (q == (char *) 0) {
  			error_message ("Bad overview record (Date) '%s'", p);
  			debug_nntp ("read_xover_file", "Bad overview record (Date)");
+ 			free (buf);
  			continue;
  		} else {
  			*q = '\0';
***************
*** 1231,1236 ****
--- 1236,1242 ----
  		if (q == (char *) 0) {
  			error_message ("Bad overview record (Msg-id) '%s'", p);
  			debug_nntp ("read_xover_file", "Bad overview record (Msg-id)");
+ 			free (buf);
  			continue;
  		}
  		p = q + 1;
***************
*** 1242,1247 ****
--- 1248,1254 ----
  		if (q == (char *) 0) {
  			error_message ("Bad overview record (References) '%s'", p);
  			debug_nntp ("read_xover_file", "Bad overview record (References)");
+ 			free (buf);
  			continue;
  		}
  		p = q + 1;
***************
*** 1253,1258 ****
--- 1260,1266 ----
  		if (q == (char *) 0) {
  			error_message ("Bad overview record (Bytes) '%s'", p);
  			debug_nntp ("read_xover_file", "Bad overview record (Bytes)");
+ 			free (buf);
  			continue;
  		} else {
  			*q = '\0';
***************
*** 1267,1272 ****
--- 1275,1281 ----
  			if (!*p || (*p < '0' && *p > '9')) {
  				error_message ("Bad overview record (Lines) '%s'", p);
  				debug_nntp ("read_xover_file", "Bad overview record (Lines)");
+ 				free (buf);
  				continue;
  			}
  		} else {
***************
*** 1305,1310 ****
--- 1314,1320 ----
  		debug_print_header (&arts[top]);
   
  		top++;
+ 		free (buf);
  	}
   	fclose (fp);
   	
***************
*** 1688,1690 ****
--- 1698,1741 ----
  		range = range / 2;
  	}
  }
+ 
+ /*
+  * safe_fgets
+  *
+  * Return the next line from a file, regardless of how long it is.
+  */
+ 
+ char *
+ safe_fgets (f)
+      FILE *f;
+ {
+   char *buf   = NULL;
+   int   total = 0;
+   int   i     = 0;
+   int   chunk = 256;
+ 
+   buf = (char *) malloc (chunk * sizeof(char));
+ 
+   while (1) {
+ 
+     if (fgets (buf + total, chunk, f) == NULL)
+       {
+ 	if (total) {
+ 	  buf[strlen(buf)] = '\0';
+ 	  return buf;
+ 	} else
+ 	  return NULL;
+       }
+ 
+     if (strlen (buf + total) < chunk - 1)
+       {
+ 	buf[strlen(buf)] = '\0';
+ 	return buf;
+       }
+ 
+     total += chunk;
+ 
+     buf = (char *) realloc (buf, total * sizeof(char));
+   }
+ }
+ 
-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Re: tin - "Bad overview" records????
#17694
Author: Sean Franklin
Date: Mon, 01 Jan 1996 00:00
21 lines
1494 bytes
Dan LeGate (dlegate@rsa.csuhayward.edu) wrote:
: In tin when entering a newsgroup, I often get "Bad overview" messages 
: like this:
: 
: Bad overview record 'sys.mac.games.action:12150
: 
: What does this mean?  Do I need to correct it, or is it simply 
: informational?
: 
: Dan

The easiest thing to do is to upgrade to tin 1.3 beta.
	It fixes the overview bug.
 
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\   |\      /|   /~~~~~~~~~~~~~~~~~~~~~~~~~/
 \Sean Franklin                \  | \    / |  /Don't try to download the/
  \taz@zippy.sonoma.edu         \ |  \  /  | /internet in one night    /
   \1984 Honda Shadow Big \/ Twin\|   \/   |/It'll take 2 nights.     /
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          ~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads