[news.software.b] RN pl44 bugs!

dmose@hazy.math.uoregon.edu (Dan Mosedale) (03/01/90)

Running rn compiled for NNTP (rrn) using patchlevel 44.  Sun 3, running 
SunOS 4.0.

Bug #1:
	With each invocation an rrnact.* file is created in /tmp.  This
	file is _never_ deleted.  Noticed this one day when I saw about
	400K of such files up to a month old sitting in /tmp.

Bug#2:
	In the newsgroups script, the "Unsubscribed but listed in .newsrc"
	doesn't list anything at all.  After a bit of experimentation, I
	figured out that the sed(1) command which is supposed to delete all
	of the lines in .newsrc which don't end with a ! in fact deletes
	every single line in .newsrc.

A recommendation:

	How about having the 'v' show patchlevel as well as rn.c version.  This
seems to be pretty relevant!


Does anyone have any fixes for the above?  Is a new official patch due soon?

-dmose@math.uoregon.edu

nagel@ics.uci.edu (Mark Nagel) (03/01/90)

dmose@hazy.math.uoregon.edu (Dan Mosedale) writes:

>Bug #1:
>	With each invocation an rrnact.* file is created in /tmp.  This
>	file is _never_ deleted.  Noticed this one day when I saw about
>	400K of such files up to a month old sitting in /tmp.

Having gone through this myself, I'll answer this one...  You must
have gotten your sources from uunet -- they are not patched
correctly.  To get the real rn pl44 sources, go directly to the
source (I believe bcm.tmc.edu).  Do not pass GO, do not collect $200.

>Bug#2:
>	In the newsgroups script, the "Unsubscribed but listed in .newsrc"
>	doesn't list anything at all.  After a bit of experimentation, I
>	figured out that the sed(1) command which is supposed to delete all
>	of the lines in .newsrc which don't end with a ! in fact deletes
>	every single line in .newsrc.

Unsure, but this may be fixed in the real pl44 sources as well.

--
Mark Nagel
UC Irvine Department of ICS   +----------------------------------------+
ARPA: nagel@ics.uci.edu       | You are in a twisty maze of little     |
UUCP: ucbvax!ucivax!nagel     | newsgroups, all looking alike.         |

pjg@autarch.acsu.buffalo.edu (Paul Graham) (03/01/90)

In article <25EC8B55.8934@paris.ics.uci.edu>, nagel@ics (Mark Nagel) writes:
'dmose@hazy.math.uoregon.edu (Dan Mosedale) writes:
'
'>[about two bugs]
'Having gone through this myself, I'll answer this one...  You must
'have gotten your sources from uunet -- they are not patched
'correctly.  To get the real rn pl44 sources, go directly to the
'source (I believe bcm.tmc.edu).  Do not pass GO, do not collect $200.

nope, i got mine from bmc and had the same problem.  however if this means
there's another version on bcm i'll check it out.

spike@world.std.com (Joe Ilacqua) (03/02/90)

In article <1990Feb28.230931.6490@cs.uoregon.edu> dmose@hazy.math.uoregon.edu (Dan Mosedale) writes:
<Bug#2:
<	In the newsgroups script, the "Unsubscribed but listed in .newsrc"
<	doesn't list anything at all.  After a bit of experimentation, I
<	figured out that the sed(1) command which is supposed to delete all
<	of the lines in .newsrc which don't end with a ! in fact deletes
<	every single line in .newsrc.

	I changed to use grep which fixed it.

Here's a diff

*** newsgroups  Mon Dec 18 12:01:41 1989
--- /usr/local/bin//newsgroups  Wed Feb 28 15:16:02 1990
***************
*** 65,71 ****
  read tmp
  /bin/echo ""
  /bin/echo "Unsubscribed but mentioned in .newsrc:"
! /bin/sed < $dotdir/.newsrc \
!       -e "/$1.*!/"'s/^\([^!]*\)!.*$/\1/p' \
!       -e 'd' | \
  /bin/sort | $pager
--- 65,70 ----
  read tmp
  /bin/echo ""
  /bin/echo "Unsubscribed but mentioned in .newsrc:"
! grep "$1.*!" < $dotdir/.newsrc | \
!       sed -e 's/^\([^!]*\)!.*$/\1/p' | \
  /bin/sort | $pager

->Spike
-- 
"The World" - Public Access Unix - +1 617-739-9753  24hrs {3,12,24}00bps

sob@watson.bcm.tmc.edu (Stan Barber) (03/02/90)

The RN patches (#41-#44) are on bcm.tmc.edu. The patched RN kit is on
lib.tmc.edu. Look in the public directory in each place.

The next set of patches will be out about 4 weeks after NNTP 1.5.8 happens.
[I hope to getting that out March 3rd or 4th.]
--
Stan           internet: sob@bcm.tmc.edu         Director, Networking 
Olan           uucp: {rutgers,mailrus}!bcm!sob   and Systems Support
Barber         Opinions expressed are only mine. Baylor College of Medicine