bill@green.UUCP (05/13/84)
<to be munched> (I'm new to USENET would someone tell me why it happens?) I recently got USENET working here from software of unknown? origin. I believe it is a 2.10.B distribution, but I am not sure if any hacks where made to it before I received it. THE PROBLEM: I am trying to use expire to throw away old news and discovered the program in an infinite loop on the following history file: <103@tilt.UUCP> Thu, 10-May-84 15:14:11 EDT net.news.group/7 net.tv/15 <1455@zehntel.UUCP> Thu, 10-May-84 15:14:55 EDT net.auto/5 <307@ihuxu.UUCP> Thu, 10-May-84 15:16:17 EDT net.bicycle/10 <161@isrnix.UUCP> Thu, 10-May-84 15:16:35 EDT net.wanted/27 <142@hasmed.UUCP> Thu, 10-May-84 15:16:58 EDT net.test/3 --><15900001@uiuccsb.UUCP> Thu, 10-May-84 15:17:41 EDT net.sport.hockey/1 <1797@mit-eddie.UUCP> Fri, 11-May-84 20:13:36 EDT net.sf-lovers/27 net.tv/25 <10400143@uiucdcs.UUCP> Fri, 11-May-84 20:14:13 EDT net.micro/37 <236@afinitc.UUCP> Fri, 11-May-84 20:14:43 EDT net.tv.drwho/5 <38200008@uiucdcs.UUCP> Fri, 11-May-84 20:15:18 EDT net.bicycle/29 <497@sri-arpa.UUCP> Fri, 11-May-84 20:15:39 EDT net.micro/38 When expire gets to the line marked, it starts writting it over, and over, and over.. again into the nhistory file. We only have 1500 blocks available and it quickly filled up the disk. I have started looking at the expire source and it makes comments about being for 2.9 and not handling the 2.10 directory structures. (The scssid is 2.15 3/28/83.) Should expire work anyway? Is there a new version for 2.10 which will work? If anybody has any ideas at all, I would appreciate it. TIA, -- Bill Bogstad UUCP: ..!{brl-bmd umcp-cs}!aplvax!green!bill ARPA: I wish...
chuqui@nsc.UUCP (05/14/84)
Bill:
That looping problem was found to have been caused because malloc() calls
were not checked for correct completion, and allocated space not correctly
returned. This only tends to show up on smaller machines. I have a version
of expire that has this fixed, and if you want it drop me a note by mail
and I'll ship you a copy.
Note on the version of expire that I posted a while back:
It seems that the reason the -r and -h routines in expire blow up
on some systems is because they use the DBM routines regardless of
whether or not the -DDBM flag is set during compilation. This is a
slip up and as soon as I get some time I will see about correcting
this. As far as I can tell, if your system supports dbm you should
be using it with news, and if you do the expire should work.
chuq
--
>From the closet of anxieties of: Chuq Von Rospach
{amd70,fortune,hplabs,ihnp4}!nsc!chuqui (408) 733-2600 x242
Half asleep I hear a voice; is it only in my mind?
Or is it someone calling me, someone I failed and left behind?