in reply to get the size of a LARGE file
This may be a Perl problem, or it may be an OS large file rough-edge. Unless the underlying stat provides a 64 bit size, the best you're going to be able to do is turn $blksize and $blocks into instances of Math::BigInt, and multiply the two use this to get the approximate file size.
(On second thought: if the file can get that large, the OS stat should provide a 64-bit interface. You probably need to update your Perl.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: get the size of a LARGE file
by Anonymous Monk on Apr 25, 2002 at 08:13 UTC | |
|
Re: Re: get the size of a LARGE file
by Anonymous Monk on Apr 25, 2002 at 08:24 UTC | |
by TheHobbit (Pilgrim) on Apr 25, 2002 at 10:20 UTC | |
by dws (Chancellor) on Apr 25, 2002 at 14:59 UTC |