Revision 757103
Go back to digest for 6th January 2008Features in KDE Base
Brad Hards committed changes in /trunk/playground/libs/kcabinet:
OK, now it really works with Cabinet files that are spread over more than one block (i.e. >32K in size).
The missing part came from a hint from Mark Adler, who advised:
Someone else was emailing me about this recently. They found out that each subsequent block uses the previous 32K block as a dictionary. You can use inflateSetDictionary() to set the dictionary for the next block before decompressing.
Also, update the unit test. I wasn't reading the khexedit display correctly.
File Changes
Modified 2 files
- /trunk/playground/libs/kcabinet
- /kcabinet.cpp
- /tests/kcabinettest.cpp
2 files changed in total