🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Thomas Schultz Tue, 11 Jul 2000 00:00
[slrn] Bug trashing .jnewsrc
#63176
Author: Thomas Schultz
Date: Tue, 11 Jul 2000 00:00
17 lines
1360 bytes
Hi,

Daniel Roesen <droesen@entire-systems.com> reported that there is a
bug in slrn 0.9.6.2 that will destroy data in the .jnewsrc file. If
you call refresh_groups() in group mode and abort it (via Ctrl-G), any
groups that were not yet "refreshed" are deleted from the newsrc file.

Looking at the source code, it becomes obvious why:
refresh_group_cmd() first saves the newsrc, then frees the group list
and finally calls slrn_get_news_news() to read in the newsrc file
again and check for new news while doing so. When this is interrupted,
the new group list will only contain the groups that were read at the
time the user pressed Ctrl-G.
-- 
Thomas Schultz <tststs@gmx.de>

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