Skip to content

read_block() should return offset #7

Description

@17dec

Libarchive's archive_read_data_block() does not guarantee that the returned block continues at the byte offset where the last block finished. It explicitely allows for gaps in order to efficiently handle sparse files. To correctly handle this case the offset returned by archive_read_data_block() should also be returned by read_block().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions