icsharpcode / SharpZipLib

#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
http://icsharpcode.github.io/SharpZipLib/
MIT License
3.71k stars 978 forks source link

GZipOutputStream is the destination and not the source #741

Open nickl- opened 2 years ago

nickl- commented 2 years ago

Changed the variable names to make it clear and assign the correct stream order to the Copy function. Fixed typo in StreamUtils class name

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

Wow!! what's with all the legalese =(

piksel commented 2 years ago

Wow!! what's with all the legalese =(

It's because ICSharpCode is a (non-profit) organization that may need to actually deal with legal stuff :(

christophwille commented 2 years ago

History - see issue #103 (plus my comment here https://github.com/icsharpcode/SharpZipLib/pull/101#issuecomment-205837920). That little snippet ensures that the entire code base is properly MIT-licensed for everyone.