Thread View: news.software.nn
1 messages
1 total messages
Started by Milt Epstein
Tue, 22 Sep 1992 19:29
nn munges .newsrc when a group is both subscibed and unsubscribed
Author: 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
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