Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into Issue-230
  • Loading branch information
Dan Baumberger committed May 23, 2017
2 parents 313c044 + f6f8adf commit 7d0acbc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ I'm always looking for help or ideas. Please submit code or email with ideas. Un

## Version Log

### Version 0.16.0

* Breaking - [Progress Event Tracking rethink](https://github.com/adamhathcock/sharpcompress/pull/226)
* Update to VS2017 - [VS2017](https://github.com/adamhathcock/sharpcompress/pull/231) - Framework targets have been changed.
* New - [Add Zip64 writing](https://github.com/adamhathcock/sharpcompress/pull/211)
* [Fix invalid/mismatching Zip version flags.](https://github.com/adamhathcock/sharpcompress/issues/164) - This allows nuget/System.IO.Packaging to read zip files generated by SharpCompress
* [Fix 7Zip directory hiding](https://github.com/adamhathcock/sharpcompress/pull/215/files)
* [Verify RAR CRC headers](https://github.com/adamhathcock/sharpcompress/pull/220)

### Version 0.15.2

* [Fix invalid headers](https://github.com/adamhathcock/sharpcompress/pull/210) - fixes an issue creating large-ish zip archives that was introduced with zip64 reading.
Expand Down
7 changes: 6 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ Task("Test")
var files = GetFiles("tests/**/*.csproj");
foreach(var file in files)
{
DotNetCoreTest(file.ToString());
var settings = new DotNetCoreTestSettings
{
Configuration = "Release"
};

DotNetCoreTest(file.ToString(), settings);
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ internal uint Write(Stream outputStream, ZipCompressionMethod compression)
var decompressedvalue = zip64 ? uint.MaxValue : (uint)Decompressed;
var headeroffsetvalue = zip64 ? uint.MaxValue : (uint)HeaderOffset;
var extralength = zip64 ? (2 + 2 + 8 + 8 + 8 + 4) : 0;
var version = (byte)(zip64 ? 45 : 10);
var version = (byte)(zip64 ? 45 : 20); // Version 20 required for deflate/encryption

HeaderFlags flags = HeaderFlags.UTF8;
if (!outputStream.CanSeek)
Expand Down

0 comments on commit 7d0acbc

Please sign in to comment.