🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Peter Van Rossem Tue, 07 Dec 1993 14:11
TIN 1.22 catchup problem
#6836
Author: Peter Van Rossem
Date: Tue, 07 Dec 1993 14:11
37 lines
2225 bytes
Greetings,

We recently upgraded tin from 1.19 to 1.22, but we're now having a problem
with the catch-up command on the Group Selection Level (GSL) with version 
1.22.

I startup tin, and enter a group (any), read some articles, and quit 
this group ('q'). On Group selection level I then say catchup ('c' or 
'C').
When entering that same group again later during the same tin-session, 
all articles are now marked unread, even the ones I've recently read, 
and in spite of the catch up command.

The catch up command on Group Level works fine.
Doing a catch up on GSL, then quitting tin and reentering the same group
works fine too.

The problem occurs on a Sun Sparc 10 (SunOS 4.1.3), as well on Control 
Data machines (EPIX 2.1.1). The configuration is NNTP_ONLY, 
DONT_HAVE_NNTP_EXTS and tin running setuid (though I don't think that 
makes a difference).

Has anyone else encountered this behaviour?
Is there a patch to solve this problem?

Thanks,

Peter.

--

========================================================================
Peter Van Rossem                                    <pvrossem@vub.ac.be>
User's Support Group                              
Brussels Free University Computing Centre         Phone: +32.2.650.37.71
Pleinlaan 2, B-1050 Brussels, Belgium
========================================================================
Re: TIN 1.22 catchup problem
#6840
Author: John Schmitz
Date: Tue, 07 Dec 1993 17:13
25 lines
1518 bytes
This patch might fix the catchup problem:

RCS file: RCS/newsrc.c,v
retrieving revision 1.1
rdiff -c -r1.1 newsrc.c
*** /tmp/,RCSt1a14211	Tue Dec  7 09:12:32 1993
--- newsrc.c	Wed Nov 10 09:43:29 1993
***************
*** 490,496
  				fprintf (newfp, "%s%c 1-%ld\n", grp, sub, group->max);
  				if (group->newsrc.bitmap) {
  					checknewsrc (group);
! 					NSETBLK(group->newsrc.bitmap, group->max - group->min);
  				}
  			} else {
  				fprintf (newfp, "%s%c %s\n", grp, sub, seq);

--- 490,496 -----
  				fprintf (newfp, "%s%c 1-%ld\n", grp, sub, group->max);
  				if (group->newsrc.bitmap) {
  					checknewsrc (group);
! 					NRESETBLK(group->newsrc.bitmap, group->max - group->min);
  				}
  			} else {
  				fprintf (newfp, "%s%c %s\n", grp, sub, seq);
Re: TIN 1.22 catchup problem
#6861
Author: Iain Lea
Date: Wed, 08 Dec 1993 07:40
13 lines
1207 bytes
Peter Van Rossem (pvrossem@rc1.vub.ac.be) wrote:
:
: We recently upgraded tin from 1.19 to 1.22, but we're now having a problem
: with the catch-up command on the Group Selection Level (GSL) with version 
: 1.22.

Fixed in the next release due sometime around the new year.  You will have to
patch newsrc.c to fix the problem.  I think a bitmap was set to all 0's instead
of all 1's.

-- 
iain.lea@erlm.siemens.de  +49-9131-7-43402
 'Raus aus dem Alltag, rein in die Kiste'
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