🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46374

Re: cnfsstat and largefiles

#46374
From: Kjetil Torgrim Homme
Date: Wed, 10 May 2000 00:00
25 lines
1371 bytes
[Morten Lund]

>   The error-message i get is:
>   
>   Class MEDIA for groups matching "*mp3*,*sound*", article size min/max:
>   65536/0
>   Operation `log': no method found, argument in overloaded package
>   Math::BigInt at /news/bin/cnfsstat line 331, <STOR> line 33.

Bummer, that was introduced in a recent patch from me.

Try changing line 331:
    my $predigits = int(log($scaled) / log(10));
into
    my $predigits = length (int($scaled));

(This makes line 332 superfluous, as well.)

This patch has little to do with the actual support for largefiles,
which should work regardless.


Kjetil T.

Technical Details
Message-ID: <1rr9babdet.fsf@haey.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <3919655F.1FFB60DC@int.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <1rr9babdet.fsf@haey.ifi.uio.no>
Subject: Re: cnfsstat and largefiles
Date: Wed, 10 May 2000 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <3919655F.1FFB60DC@int.tele.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 621615883
X-Complaints-To: abuse@ifi.uio.no
X-Trace: maud.ifi.uio.no 957974618 15508 129.240.64.139 (10 May 2000 16:03:38 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 10 May 2000 16:03:38 GMT
Newsgroups: news.software.nntp