🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Morten Lund Wed, 10 May 2000 00:00
cnfsstat and largefiles
#46352
Author: Morten Lund
Date: Wed, 10 May 2000 00:00
22 lines
1445 bytes
I have installed inn 2.3-Beta on a Solaris 2.7 (32-bit mode, should
support largefiles though). I have some
cycbuffers of about 43GB. Everything works fine, I can read and post.
But I cant use cnfsstat. I have downloaded and compiled perl 5.6 with
largefiles-support.

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.

Anyone seen this before? Before I used perl with largefiles-support,
perl couldn't even read the file. So I see this error-message as
progress.

Regards Morten Lund


Re: cnfsstat and largefiles
#46374
Author: 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.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads