Adjust libarchive issue 2514 workaround version check

Update WORK_AROUND_ISSUE_2514 to apply only to versions before 3.8.8, as
the fix has been back-ported and is present in newer 3.8.x releases.
This commit is contained in:
François Degros
2026-08-04 15:00:44 +10:00
parent 893e724630
commit 5040faceec
+1 -1
View File
@@ -529,7 +529,7 @@ void Reader::SetRpmFormat() {
}
#define WORK_AROUND_ISSUE_2513 ARCHIVE_VERSION_NUMBER < 3'008'007
#define WORK_AROUND_ISSUE_2514 ARCHIVE_VERSION_NUMBER < 3'009'000
#define WORK_AROUND_ISSUE_2514 ARCHIVE_VERSION_NUMBER < 3'008'008
bool Reader::SetFilter(std::string_view const ext) {
static std::unordered_map<std::string_view, void (*)(Reader&)> const