From d1fd7e597d0ccd31012127fa33c607c5684800c1 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Oct 2005 07:22:49 +0000 Subject: [PATCH] Import from zlib-1.2.4 --- cpukit/zlib/contrib/dotzlib/DotZLib.chm | Bin 72728 -> 72726 bytes .../zlib/contrib/dotzlib/DotZLib/CodecBase.cs | 8 ++++---- .../zlib/contrib/dotzlib/DotZLib/Inflater.cs | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cpukit/zlib/contrib/dotzlib/DotZLib.chm b/cpukit/zlib/contrib/dotzlib/DotZLib.chm index 0bc7df76e407dcc69094483a6e9507240fe257ab..f214a444aebb20950fb3e8499b36731e1f12be95 100644 GIT binary patch delta 20 ccmbQSgJs$dmJRNyn>|vc=Wb77V%#DL09=R&1^@s6 delta 24 gcmbQXgJs4JmJRNyjGUX@Q>EuJa&AvzV%#DL0C9W>7XSbN diff --git a/cpukit/zlib/contrib/dotzlib/DotZLib/CodecBase.cs b/cpukit/zlib/contrib/dotzlib/DotZLib/CodecBase.cs index 954db7db05..42e6da3a56 100644 --- a/cpukit/zlib/contrib/dotzlib/DotZLib/CodecBase.cs +++ b/cpukit/zlib/contrib/dotzlib/DotZLib/CodecBase.cs @@ -1,7 +1,7 @@ // // © Copyright Henrik Ravn 2004 // -// Use, modification and distribution are subject to the Boost Software License, Version 1.0. +// Use, modification and distribution are subject to the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // @@ -19,7 +19,7 @@ namespace DotZLib #region Data members /// - /// Instance of the internal zlib buffer structure that is + /// Instance of the internal zlib buffer structure that is /// passed to all functions in the zlib dll /// internal ZStream _ztream = new ZStream(); @@ -45,7 +45,7 @@ namespace DotZLib #endregion /// - /// Initializes a new instance of the CodeBase class. + /// Initializes a new instance of the CodeBase class. /// public CodecBase() { @@ -77,7 +77,7 @@ namespace DotZLib if (_ztream.total_out > 0) { if (DataAvailable != null) - DataAvailable( _outBuffer, 0, (int)_ztream.total_out); + DataAvailable( _outBuffer, 0, (int)_ztream.total_out); resetOutput(); } } diff --git a/cpukit/zlib/contrib/dotzlib/DotZLib/Inflater.cs b/cpukit/zlib/contrib/dotzlib/DotZLib/Inflater.cs index 4e60cda078..8ed5451d66 100644 --- a/cpukit/zlib/contrib/dotzlib/DotZLib/Inflater.cs +++ b/cpukit/zlib/contrib/dotzlib/DotZLib/Inflater.cs @@ -1,7 +1,7 @@ // // © Copyright Henrik Ravn 2004 // -// Use, modification and distribution are subject to the Boost Software License, Version 1.0. +// Use, modification and distribution are subject to the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // @@ -11,7 +11,7 @@ using System.Runtime.InteropServices; namespace DotZLib { - + /// /// Implements a data decompressor, using the inflate algorithm in the ZLib dll /// @@ -84,7 +84,7 @@ namespace DotZLib public override void Finish() { int err; - do + do { err = inflate(ref _ztream, (int)FlushTypes.Finish); OnDataAvailable();