SharpZipLib icon indicating copy to clipboard operation
SharpZipLib copied to clipboard

GZipOutputStream is the destination and not the source

Open nickl- opened this issue 3 years ago • 2 comments

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 =(

nickl- avatar Apr 05 '22 14:04 nickl-

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 :(

piksel avatar Apr 06 '22 08:04 piksel

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.

christophwille avatar Apr 06 '22 09:04 christophwille