🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Joubert Berger Tue, 06 Mar 1990 17:57
problems with nn6.4 beta
#160
Author: Joubert Berger
Date: Tue, 06 Mar 1990 17:57
15 lines
1312 bytes
I ran across a problem and would like to know if others also have seen
this problem with the new beta version of nn, nn6.4.  When defining

#define NETWORK_DATABASE	/* */

I run into problems where newgroup name length run into the >5000.
When I undefine it, everything seems to work  right.  I believe the
problem lies when reading/writing to the MASTER file, but that is as far
as I got.  Any ideas?
		     Joubert
-- 
Joubert Berger                    | uucp:  ...!{allegra,amd,hplabs,seismo,
Georgia Institute of Technology,  |             ut-ngp}!gatech!prism!ccastjb
P.O.Box 36152                     | ARPA:  ccastjb@prism.gatech.edu
Atlanta Georgia, 30332            | 
Re: problems with nn6.4 beta
#165
Author: Steven Grady
Date: Tue, 06 Mar 1990 22:35
27 lines
1539 bytes
ccastjb@prism.gatech.EDU (Joubert Berger) writes:

>I ran across a problem and would like to know if others also have seen
>this problem with the new beta version of nn, nn6.4.  When defining

>#define NETWORK_DATABASE	/* */

>I run into problems where newgroup name length run into the >5000.

The problem is that writing and reading an individual group when
not in sequential mode doesn't take the db_lock into account.

Change the line (split here):
	fseek(master_file, MASTER_FIELDS * sizeof(net_long) 
			+ GROUP_FIELDS * sizeof(net_long) * gh->group_num, 0);
to:
	fseek(master_file, MASTER_FIELDS * sizeof(net_long) 
			+ DB_LOCK_MESSAGE 
			+ GROUP_FIELDS * sizeof(net_long) * gh->group_num, 0);
around line 693 of db.c.
Make exactly the same change around line 732.

I've reported this fix to nn-bugs.
--
	Steven
	grady@postgres.berkeley.edu
	...!ucbvax!grady
Re: problems with nn6.4 beta
#173
Author: Gardner Cohen
Date: Wed, 07 Mar 1990 00:24
10 lines
995 bytes
I have 6.4 running with NNTP defined under Mips risc/os 4.1.

When in article reading mode, if I use the 'p' command to try to look
at the previous article, I get a garbled version of the current
article with the previous article's headers.

Has anyone else seen this, or should I suspect my compiler?

-- 
Gardner Cohen     beldar@mips.com   (408) 991-6567
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