From 1ff65b7b87b47cd81d3f73251eec82dbc7c51ed2 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Wed, 25 Feb 2026 11:20:53 -0800 Subject: [PATCH 1/2] fixes uppercase spelling of enumeration types --- src/common/util/ities.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/common/util/ities.h b/src/common/util/ities.h index b10e94af..58f7fc82 100644 --- a/src/common/util/ities.h +++ b/src/common/util/ities.h @@ -531,28 +531,28 @@ inline std::string glob_to_regex(std::string val) { // File type detection // ============================================================ -enum class file_type_e { Plain, Gzip, Bzip2, Xz, Zstd }; +enum class file_type_e { PLAIN, GZIP, BZIP2, XZ, ZSTD }; inline file_type_e detect_file_type(const std::string& path) { std::ifstream file(path, std::ios::binary); if(!file) - throw std::runtime_error("Cannot open file for detection"); + throw std::runtime_error("cannot open file"); unsigned char magic[6] = {0}; file.read(reinterpret_cast(magic), sizeof(magic)); if(magic[0] == 0x1F && magic[1] == 0x8B) - return file_type_e::Gzip; + return file_type_e::GZIP; if(magic[0] == 0x42 && magic[1] == 0x5A && magic[2] == 0x68) - return file_type_e::Bzip2; + return file_type_e::BZIP2; if(magic[0] == 0xFD && magic[1] == 0x37 && magic[2] == 0x7A && magic[3] == 0x58 && magic[4] == 0x5A && magic[5] == 0x00) - return file_type_e::Xz; + return file_type_e::XZ; if(magic[0] == 0x28 && magic[1] == 0xB5 && magic[2] == 0x2F && magic[3] == 0xFD) - return file_type_e::Zstd; - return file_type_e::Plain; + return file_type_e::ZSTD; + return file_type_e::PLAIN; } } // namespace util From 58429fda8726db5e2a07c673d168f636309e2c12 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 26 Feb 2026 01:33:40 -0800 Subject: [PATCH 2/2] updates axi_chi submodule --- third_party/axi_chi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/axi_chi b/third_party/axi_chi index a04bca16..1d527dd4 160000 --- a/third_party/axi_chi +++ b/third_party/axi_chi @@ -1 +1 @@ -Subproject commit a04bca167eec65365aa09b3f0d0ec91aa0ef0496 +Subproject commit 1d527dd4f62b7b3157e93463adc4b2902da65602