Large (>2 GB?) file size support in Konqueror
Fabian Wolf
fabianw at gmx.net
Mon Jun 24 12:25:03 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 24 June 2002 00:43, Chris Howells wrote:
> Hi,
>
> Somebody I know using KDE 3.0 managed to generate the following screenshot:
>
> http://www.lurch.org.uk/snapshot1.png
>
> Is there any known problems that would cause this? Apparently the file was
> 2.6GB, considerably smaller than the 16TB that Konqueror claims :P
This happened to me a lot while writing the dvd IO-Slave. It was caused
because KIO::filesize_t was too small to hold filesizes over a certain value
(We count bytes!) It was then changed to an "unsigned long long int". This
_should_ be sufficient, but well, on 32bit platforms it probably won't take
long before we run out of space to hold filesize values that big.
How is the kernel handling those huge numbers? Spanning them across several
variables?
Fabian
- --
The young do not know enough to be prudent
and therefore they attempt the impossible -
and achieve it, generation after generation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9FwGSecDvLx8T7osRAqmLAJ4tI+D4F7/wQrF6WDSchzpYW1MwggCfUoX+
YxWo5LEO0x4t6IJmTI7clrs=
=jcGl
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list