]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Add ARCHIVE_READDISK_NO_SPARSE to suppress reading sparse file info
authorJonas Witschel <diabonas@archlinux.org>
Sun, 14 Nov 2021 17:56:49 +0000 (18:56 +0100)
committerJonas Witschel <diabonas@archlinux.org>
Sun, 14 Nov 2021 17:56:49 +0000 (18:56 +0100)
commit2a8bb4242db773733cca419c8aafd1882c77d75e
treeb4f79b74a8d7359792f75187e5673a47a538eb2c
parent86c9361fdb4298993f74064b8a0768d07678421e
Add ARCHIVE_READDISK_NO_SPARSE to suppress reading sparse file info

Sparse file information depends on the file system and can therefore be a
source of unreproducibility for the generated archives, e.g. if the same
content is compressed on a file system with and without sparse file support.
Add an option to suppress reading this information from disk entirely.
libarchive/archive.h
libarchive/archive_read_disk.3
libarchive/archive_read_disk_entry_from_file.c
libarchive/archive_read_disk_windows.c