]> git.ipfire.org Git - thirdparty/libarchive.git/commit
read_disk: Set correct match error codes 2927/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 18 Mar 2026 14:53:41 +0000 (15:53 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 9 May 2026 10:18:38 +0000 (12:18 +0200)
commit6ef8b42aa95f32e1fb4a88da2a39daa2ea6a9979
tree45404c55feeafd3beba9920ff0ef40a627240ad2
parent470379a9ef522a25c869c23625c9945270c2e5b8
read_disk: Set correct match error codes

The errno value is not correct here. If the error string of a failed
match is printed, use also its error code.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_read_disk_posix.c
libarchive/archive_read_disk_windows.c