On 05/31/2013 03:01 PM, Pepijn Van Eeckhoudt wrote:
Hi all,
I've ran into some issues running sqlite on Android when handling files
larger than 4Gb. Support for this counts on glibc style large file support
where off_t and off64_t are identical. In bionic (Android C runtime) this
is not the case. off_t is always 32-bit; for 64-bit offsets off64_t and the
corresponding 64 bit variants of functions must be used (ftruncate64,
pread64, pwrite64, ...).
The attached patch modifies os_unix.c to count less on off_t being a 64-bit
value. Could someone review this and if approved integrate this upstream?
The mailing list strips attachments unfortunately. Can you
upload the patch somewhere?
Thanks,
Dan.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users