]> gitweb.factorcode.org Git - factor.git/commit
Fix zlib-error-message to include human-readable version
authorAlec Berryman <alec@thened.net>
Tue, 29 Dec 2009 02:05:09 +0000 (20:05 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 8 Jan 2010 06:51:03 +0000 (19:51 +1300)
commitb85d26759adc03cf92b3f3ffd04297409b6b7837
tree4d84cdd877ee34efe42325c841e5832e11222459
parent90422d8835b8a936c28f8911e2c33c45775df031
Fix zlib-error-message to include human-readable version

The error string is looked up in an array, but because zlib
error codes are negative, the error's string was always "f".
basis/compression/zlib/zlib-tests.factor
basis/compression/zlib/zlib.factor