mIRC Home    About    Download    Register    News    Help

Print Thread
$file().size #89253 05/07/04 06:46 AM
Joined: Feb 2003
Posts: 42
G
GregMo Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 42
The anal will detail how this isn't a bug, just a limitation of a variable size, but the bug is in the choice of the type of variable.

You see, the 'size' property of $file breaks at 4,294,967,296, the upper limit of a 32 bit variable. Granted, most people don't work with 4+ gigabyte files, but there are those of us that do :-)

Cheers,
GregMo

Re: $file().size #89254 05/07/04 07:29 AM
Joined: Dec 2002
Posts: 788
C
Coolkill Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
There was a similiar thread i believe a few days back, in the other forum along with an "alternative". See here.

Eamonn.

Re: $file().size #89255 07/07/04 09:10 PM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
v6.16 versions.txt:

35.Fixed $file().size limitation.