Article View: news.software.readers
Article #36880checking for a valid .newsrc (was Re: TIN wiped out my .newsrc)
From: Russell Schulz
Date: Tue, 04 Nov 1997 00:00
Date: Tue, 04 Nov 1997 00:00
23 lines
1601 bytes
1601 bytes
Andreas Muck <postmaster@koala.rhein-neckar.de> writes:
>>> Your newsrc will always be backed up in $HOME/.oldnewsrc
>> which of course will be overwritten if you start and quit tin again
> voila: both your .newsrc and .oldnewsrc are nice and clean :)
in rnr, I finally added a check to not run (and especially NOT backup
the .newsrc equivalent) if it was bogus.
this came about because of an odd situation with a crashed server
flushing buffers that resulted in the file (which should have been
ASCII) containing all nul bytes.
perhaps the newsreader should do this at the beginning:
if oldnewsrc exists
if oldnewsrc is much larger than newsrc
ask user if they want to wipe out oldnewsrc
--
Russell_Schulz@locutus.ofB.ORG Shad 86c
Technical Details
Message-ID:
<19971104.115050.6K3.rnr.w164w@locutus.ofB.ORG>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<EIv6vG.49M@bechtel.com> <63b7dm$ecq$1@nz12.rz.uni-karlsruhe.de> <63kult$kkr$1@koala.rhein-neckar.de>Show Full Headers
Complete Article Headers
Message-ID: <19971104.115050.6K3.rnr.w164w@locutus.ofB.ORG> Subject: checking for a valid .newsrc (was Re: TIN wiped out my .newsrc) Date: Tue, 04 Nov 1997 00:00:00 +0000 From: Russell Schulz <Russell_Schulz@locutus.ofB.ORG> References: <EIv6vG.49M@bechtel.com> <63b7dm$ecq$1@nz12.rz.uni-karlsruhe.de> <63kult$kkr$1@koala.rhein-neckar.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 287014685 Reply-To: Russell Schulz <Russell_Schulz@locutus.ofB.ORG> X-Mail-Policy: you may reply to this message. you may NOT add me to a list. Organization: Private System, London SW19, UK Newsgroups: news.software.readers