From 049d70f61cac133e70bda23836bd41a8fbbe55da Mon Sep 17 00:00:00 2001 From: Oz Date: Mon, 2 Oct 2023 18:05:29 +0200 Subject: [PATCH 1/2] Fix compression of filesystem items with non-ASCII characters --- src/internal/fsitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/fsitem.cpp b/src/internal/fsitem.cpp index 4b3fb902..1605cae8 100644 --- a/src/internal/fsitem.cpp +++ b/src/internal/fsitem.cpp @@ -139,7 +139,7 @@ auto FilesystemItem::getStream( ISequentialInStream** inStream ) const -> HRESUL if ( mSymlinkPolicy == SymlinkPolicy::DoNotFollow && isSymLink() ) { try { - auto inStreamLoc = bit7z::make_com< CSymlinkInStream >( path() ); + auto inStreamLoc = bit7z::make_com< CSymlinkInStream >( filesystemPath() ); *inStream = inStreamLoc.Detach(); return S_OK; } catch ( const BitException& ex ) { @@ -148,7 +148,7 @@ auto FilesystemItem::getStream( ISequentialInStream** inStream ) const -> HRESUL } try { - auto inStreamLoc = bit7z::make_com< CFileInStream >( path() ); + auto inStreamLoc = bit7z::make_com< CFileInStream >( filesystemPath() ); *inStream = inStreamLoc.Detach(); } catch ( const BitException& ex ) { return ex.nativeCode(); From f9dc711cf8007c2d7ae40b9ac90eb147f17e5f84 Mon Sep 17 00:00:00 2001 From: Oz Date: Mon, 2 Oct 2023 18:18:28 +0200 Subject: [PATCH 2/2] Improve badges in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1906bac2..2cac462d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@
GitHub releaseC++14WindowsLinuxmacOSx86, x64, arm, arm64donatedocsBuild status
- MSVC 2015+MinGW 6.4+GCC 4.9+Clang 3.6+CodeFactor GradeLicense + MSVC 2015+GCC 4.9+Clang 3.6+CodeFactor GradeLicense
## ⚡️ Introduction