Article View: news.software.nn
Article #3606Re: bug causing a corrupted .newsrc file
From: Milt Epstein
Date: Wed, 13 Jan 1993 19:47
Date: Wed, 13 Jan 1993 19:47
50 lines
3277 bytes
3277 bytes
In <1993Jan13.010031.28953@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes: >epstein@cs.uiuc.edu (Milt Epstein) writes: > >>In <1993Jan9.022528.8181@news.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes: > >->pb@idca.tds.philips.nl (Peter Brouwer) writes: >-> >->>There is a bug in nn causing group names to be lost in the the .newsrc file. >->>There is a news group comp.lang.c!!. >->>When a unsubscribe is done on this newsgroup the .newsrc file loses the >->>newsgroups beneath the comp.lang.c!! line. >->>I solved this by disabling the group in the GROUP file. >-> >->There certainly shouldn't be a newsgroup called comp.lang.c!!, as a ! is >->the unsubscribe mark in every major newsreader. There is a comp.lang.c++, >->which shouldn't cause any problems. If you do have a comp.lang.c!!, it's >->bogus and should be nuked. > >>While this particular case may involve a bogus newsgroup, there really >>is a bug here (and a particularly nasty one, if you ask me :-). I >>reported this here some time back (and got no response :-). In my >>case, the bug appeared when the same group appeared in my .newsrc >>twice, first unsubscribed (i.e. with a `!'), and then subscribed (i.e. >>with a `:'). When I ran nn, everything in my .newsrc after the >>unsubscribed line for that group was deleted. While it is >>questionable whether the same group should appear twice in the >>.newsrc, certainly there should not be massive deletions from the >>.newsrc if it does happen. > >You're right, it shouldn't. However, I'm unable to duplicate this problem >(my nn accepts the first occurance, ignoring the second) so finding it would >be a problem. After exchanging email with Michael Pins, we've clarified what's going on. It looks like the bug that plagued me is different from the one that was originally reported in this thread (although there are similarities). The one I discovered occurs when the same group is listed twice in the .newsrc, first unsubscribed, and then subscribed. It appears that everything between these two listings is deleted from the .newsrc when nn next is run and updates the .newsrc (not everything after the first listing, as I said above). Michael was able to duplicate this, and he said that he would put this on his list of things TODO (he is involved with the official maintainance of nn). -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Technical Details
Message-ID:
<C0t5nG.E7q@cs.uiuc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!epsteinReferences:
<pb.726481384@atperf.idca.tds.philips.nl> <1993Jan9.022528.8181@news.uiowa.edu> <C0q23A.F2D@cs.uiuc.edu> <1993Jan13.010031.28953@news.uiowa.edu>Show Full Headers
Complete Article Headers
Message-ID: <C0t5nG.E7q@cs.uiuc.edu> Subject: Re: bug causing a corrupted .newsrc file Date: Wed, 13 Jan 1993 19:47:39 GMT From: epstein@cs.uiuc.edu (Milt Epstein) References: <pb.726481384@atperf.idca.tds.philips.nl> <1993Jan9.022528.8181@news.uiowa.edu> <C0q23A.F2D@cs.uiuc.edu> <1993Jan13.010031.28953@news.uiowa.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!sparc0b!epstein Newsgroups: news.software.nn Sender: news@cs.uiuc.edu Reply-To: epstein@cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Lines: 50