Bug #3624

4GB limit per file

Added by hans over 3 years ago.

Status:NewStart date:08/07/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Component:

Description

Because libsqlfs is a bit sloppy and uses int@s where it should always use @size_t, there is currently a 4gig limit on the size of each file. This shouldn't be too hard to fix, it will be mostly a matter of going through and making sure that the variables are all declared size_t whenever required.

Associated revisions

Revision 345536b8
Added by Hans-Christoph Steiner over 3 years ago

change file size vars to size_t to get 64-bit file sizes on 64-bit systems

size_t is already used throughout for sizes, but perhaps it should be long
so that there are 64-bit file sizes on all platforms.

refs #3624 https://dev.guardianproject.info/issues/3624

Also available in: Atom PDF