[ECOS] fis load -d

Gary Thomas gary@mlbassoc.com
Thu Jan 2 16:42:00 GMT 2003


On Tue, 2002-12-31 at 14:59, Patrick Doyle wrote:
> OK, here is the patch.  After further investigation, I learned that the size
> information was being passed to the decompression function properly.  For
> whatever reason, when 'gzip_close()' got a result of 'Z_OK', it decided that
> if it produced any output, then an error occured.  This simple patch works
> around that without disturbing too much else.  The correct fix would
> probably be to have 'gzip_inflate()' return 'Z_STREAM_END' normally.  I
> can't imagine any reason why it behaves the way that it does (i.e. testing
> to see if any bytes were output and returning 'Z_OK' if they were), but
> that's the way it works.  My change works around that.
> 

Fair enough, I'll apply this.  Thanks for looking into it.

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------



More information about the Ecos-patches mailing list