GNOME Bugzilla – Bug 740761
Correct "file size" metadata key
Last modified: 2014-11-27 13:33:22 UTC
.
Created attachment 291563 [details] [review] core: Add support for int64 values
Created attachment 291564 [details] [review] core: Correct value type for file sizes An int is obviously too small a value to fit a filesize in bytes, with its maximum at 2GB. Use an int64 instead. Note, this breaks ABI but should not break API.
Created attachment 291565 [details] [review] tracker: Fix filesize value type So that the value isn't truncated, or wrapped around for files > 2GB. Bump requirement to grilo 0.2.12 so that the filesize type is corrected as well.
Created attachment 291571 [details] [review] lua-factory: Handle filesize types
Attachment 291563 [details] pushed as 6b26ee2 - core: Add support for int64 values Attachment 291564 [details] pushed as 2e45b89 - core: Correct value type for file sizes
Attachment 291565 [details] pushed as 256c154 - tracker: Fix filesize value type Attachment 291571 [details] pushed as f4e90ca - lua-factory: Handle filesize types