This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Filesize limited to 2GB

Tags: None
(comma "," separated)
Pär H
Registered Member
Posts
28
Karma
0

Filesize limited to 2GB

Mon Jan 23, 2006 4:49 pm
KTorrent fails with files larger than 2GB.

cachefile.cpp Revision 50386
Code: Select all
         fstat(fd,&sb);
         if (file_size != (Uint64)sb.st_size)
         {
            throw Error(i18n("Cannot expand file %1").arg(path));;
         }


fstat is limited - please use fstat64
George
Moderator
Posts
5421
Karma
1

Mon Jan 23, 2006 6:06 pm
It depends, if you are running a 64 bit box, this is not a problem :-) (Running an amd64 box has it disadvantages)

It is fixed now.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]