Article View: news.software.nntp
Article #1350Rn barfs when .newsrc > 1000 lines?
From: Rich Thomson
Date: Mon, 21 Oct 1991 05:28
Date: Mon, 21 Oct 1991 05:28
25 lines
1989 bytes
1989 bytes
I like the idea of adding groups to my .newsrc when they are created, even if I don't subscribe to them. Then I can find the name of the group quickly by fgrepping my .newsrc when I want to wander over there. However, rn (even version 4.14) has been seg faulting alot on me lately and trashing my .newsrc. I was editing my .newsrc after one of these crashes when I noticed that my .newsrc was exactly 1001 lines long. Well, this seemed to be too much of a coincidence to me, so I removed all lines corresponding to newsgroups for which I had unsubscribed. Then things worked fine. Is there some magic number in the rn program that thinks my .newsrc will always have less than 1000 lines in it? Has anyone else encountered these problems with rn? Previously we had a problem with rn indexing its copy of the active file with a short. Guess what happened when the file length exceeded the size of what a short can hold and rn does fseek(size)... -- Rich -- ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon Disclaimer: I speak for myself, except as noted. UUCP: ...!uunet!dsd.es.com!rthomson Rich Thomson Internet: rthomson@dsd.es.com IRC: _Rich_ PEXt Programmer
Technical Details
Message-ID:
<1991Oct21.052817.12041@dsd.es.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!caen!spool.mu.edu!uunet!orca!mesa!rthomsonShow Full Headers
Complete Article Headers
Message-ID: <1991Oct21.052817.12041@dsd.es.com> Subject: Rn barfs when .newsrc > 1000 lines? Date: Mon, 21 Oct 1991 05:28:17 +0000 From: rthomson@mesa.dsd.es.com (Rich Thomson) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!caen!spool.mu.edu!uunet!orca!mesa!rthomson Newsgroups: news.software.readers,news.software.nntp Sender: usenet@dsd.es.com Reply-To: rthomson@dsd.es.com (Rich Thomson) Organization: Design Systems Division, Evans & Sutherland, SLC, UT Lines: 25 Nntp-Posting-Host: 130.187.85.21