Skip to content

Commit

Permalink
3.2.4
Browse files Browse the repository at this point in the history
- Fixed miniz-cpp not extracting more than one file successfully
  • Loading branch information
ChrisBase committed Dec 14, 2021
1 parent 55eb31a commit 19c18aa
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ Note that 'jszip' is the only algorithm that doesn't extract empty folders.

## Release Notes

### 3.2.4 (Dec 14, 2021)
* Fixed miniz-cpp not extracting more than one file successfully

### 3.2.3 (Dec 8, 2021)
* Fixed miniz-cpp returning error when unzipping empty files
* Fixed andyzip crashing when unzipping invalid archives### 3.2.2 (Jul 19, 2021)
* Fixed andyzip crashing when unzipping invalid archives

### 3.2.2 (Jul 19, 2021)
* Fixed miniz-cpp not creating folders
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ bool ZipAlgorithm_miniz_cpp::UnzipEntry(const size_t szEntryIndex)
return false;

ofFile << m_pZipFile->open(strEntryName).rdbuf();
if( ofFile.rdstate() != 0 && m_pZipFile->getinfo(strEntryName).file_size == 0 )
return true;

return false;
return ofFile.rdstate() == 0 || m_pZipFile->getinfo(strEntryName).file_size == 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ using namespace ZipComponentUWP;

String^ ZipComponent::GetVersion()
{
return "1.0.3.0";
return "1.0.4.0";
}
2 changes: 1 addition & 1 deletion src/windows/ZipComponentUWP/Source/ZipTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main(int argc, const char* argv[])

std::cout << "Duration: " << std::chrono::duration_cast<std::chrono::milliseconds>(timeEnd - timeBegin).count() << " ms";
if( iResult != EXIT_SUCCESS )
std::cout << "Error: " << iResult << std::endl;
std::cout << ", Error: " << iResult << std::endl;

return iResult;
}
Expand Down
Binary file modified src/windows/ZipComponentUWP/ZipComponentUWP.rc
Binary file not shown.

0 comments on commit 19c18aa

Please sign in to comment.