Article View: news.software.readers
Article #63176[slrn] Bug trashing .jnewsrc
From: Thomas Schultz
Date: Tue, 11 Jul 2000 00:00
Date: Tue, 11 Jul 2000 00:00
17 lines
1360 bytes
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>
Technical Details
Message-ID:
<slrn8mmpo2.1i1.tststs@starflower.tststs.ddns.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn8mmpo2.1i1.tststs@starflower.tststs.ddns.org> Subject: [slrn] Bug trashing .jnewsrc Date: Tue, 11 Jul 2000 00:00:00 +0000 From: tststs@gmx.de (Thomas Schultz) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 645139196 X-Server-Date: 11 Jul 2000 18:23:57 GMT X-Complaints-To: abuse@cityweb.de Organization: Pinguin online. User-Agent: slrn/0.9.6.2+ (Linux) NNTP-Posting-Date: 11 Jul 2000 18:27:36 GMT Newsgroups: news.software.readers