(unknown charset) [BLACKBOX] Zlib under BlackBox?

From: (unknown charset) Oleg N. Cher <"Oleg>
Date: Sun, 5 Oct 2008 10:41:15 +0300

----boundary-LibPST-iamunique-1020882329_-_-
Content-type: text/plain

Hello All,

Want anyone help me to fix Zlib problems?
I have taken Zlib sources from here:
http://www.inf.ethz.ch/personal/felixf/WinAos/WinAos.r1575.zip

Bluebottle ideology implies type LONGINT as 32 bit.
BB has INTEGER as 32 bit. I entered new type BASEINT,
it'is base when working with integer numbers,
and changes of AOS type LONGINT (BB INTEGER is enough).
And I made some several other changes.

As result:

ZlibDeflate.Compress works fine, on data with small and big size.
(Tested on file = 18 Mb, all is good)

ZlibInflate.Uncompress works good for data < 32768 bytes
(= ZlibInflate.WindowSize), and stably returns Zlib.BufError (-5)
on data > 32768 bytes) (Size of destination buffer is enough!).

Maybe some of the clever people here
will say me how to fix this problem?

Sources are here: http://stefcr.mgslab.com/files/Zlib.zip
Thank you.

--
Oleg N. Cher.
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1020882329_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIEFsbCxccGFyDQpccGFyDQpXYW50IGFu
eW9uZSBoZWxwIG1lIHRvIG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lciBwZW9wbGUgaGVyZVxwYXINCndpbGwgc2F5IG1lIGhvdyB0byBmaXggdGhpcyBw
cm9ibGVtP1xwYXINClxwYXINClNvdXJjZXMgYXJlIGhlcmU6IGh0dHA6Ly9zdGVmY3IubWdzbGFi
LmNvbS9maWxlcy9abGliLnppcFxwYXINClRoYW5rIHlvdS5ccGFyDQpccGFyDQotLVxwYXINCk9s
ZWcgTi4gQ2hlci5ccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNl
bmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElT
VFMuT0JFUk9OLkNIfX0AAMBlfg==
----boundary-LibPST-iamunique-1020882329_-_---
Received on Sun Oct 05 2008 - 09:41:15 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:53 UTC