Article View: news.software.nn
Article #3144nn munges .newsrc when a group is both subscibed and unsubscribed
From: Milt Epstein
Date: Tue, 22 Sep 1992 19:29
Date: Tue, 22 Sep 1992 19:29
50 lines
2652 bytes
2652 bytes
I just ran into what appears to be a nasty bug with nn -- because I
certainly can't imagine it being a feature! Maybe someone out there
has a clue as to what's going on. There seems to be a pattern to the
behavior, because I was able to reduplicate it. I'm using nn 6.4.18.
Here's how I noticed this behavior. I added a few groups to the top
of my .newsrc (my sequence info is set to use the .newsrc order, i.e.
RC). When I then ran nn, I noticed it put me in a group pretty far
down in my .newsrc. I looked at a couple of groups, and then quit out
of nn (big mistake there, and I should've known better). I then
looked at my .newsrc, and noticed that the first 60-70 lines had been
deleted!
I then happened to notice that the first line in my (munged) .newsrc
was for one of the groups that I had added to the top of my (good)
.newsrc, except it was unsubscribed (i.e. it had a `!'). In other
words, before I ran nn that time, my .newsrc looked like:
rec.bicycles:
.
.
other groups
.
.
rec.bicycles! <==== everything above this got deleted
rec.running:
.
.
other groups
.
.
This seemed quite a concidence to me, and I tried a few tests, and lo
and behold, it appeared that this happened every time -- when the same
group was listed first as subscribed, and then as unsubscribed,
whenever the .newsrc got updated, everything up to the line listing
the group as unsubscribed was deleted.
I didn't try all variations/orders of this test -- in particular, I
only tried it with the subscribed line being the first in the .newsrc.
So, has anyone run across this behavior, or does anyone have an idea
why this is happening? It sure seems like a bug to me.
--
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Technical Details
Message-ID:
<1992Sep22.192907.5903@sunb10.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!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sparc9.cs.uiuc.edu!epsteinShow Full Headers
Complete Article Headers
Message-ID: <1992Sep22.192907.5903@sunb10.cs.uiuc.edu> Subject: nn munges .newsrc when a group is both subscibed and unsubscribed Date: Tue, 22 Sep 1992 19:29:07 GMT From: epstein@sparc9.cs.uiuc.edu (Milt Epstein) 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!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sparc9.cs.uiuc.edu!epstein Newsgroups: news.software.nn Sender: news@sunb10.cs.uiuc.edu Reply-To: epstein@cs.uiuc.edu Organization: University of Illinois at Urbana-Champaign Lines: 50