Sparse files are not extracted correctly
The code uses archive_read_data_block
which returns offset, but the offset is not handled and thus sparse files are not extracted correctly. g_seekable_seek
has to be used to fix that, or archive_read_data
instead of archive_read_data_block
at least. See: !7 (comment 1007557)