]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix FILE_skip regression 2642/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 27 May 2025 15:09:12 +0000 (17:09 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 27 May 2025 15:09:12 +0000 (17:09 +0200)
commit51b4c35bb38b7df4af24de7f103863dd79129b01
treea9e5a0f6adfc293dd6c947b05c12074e4f08d0ae
parent341dd5d1d45ce320ff05928e50efafd8ed42ed81
Fix FILE_skip regression

The fseek* family of functions return 0 on success, not the new offset.
This is only true for lseek.

Fixes https://github.com/libarchive/libarchive/issues/2641
Fixes dcbf1e0ededa95849f098d154a25876ed5754bcf

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