packages feed

lzma-enumerator 0.1.2 → 0.1.3

raw patch · 3 files changed

+4/−2 lines, 3 files

Files

lzma-enumerator.cabal view
@@ -1,5 +1,5 @@ name:                lzma-enumerator-version:             0.1.2+version:             0.1.3 synopsis:            Enumerator interface for lzma/xz compression. description:   High level bindings to xz-utils.
src/Bindings/Lzma.hsc view
@@ -4,6 +4,8 @@ <http://www.csie.ntu.edu.tw/~cjlin/liblinear/>. -} +#include <stdio.h>+#include <string.h> #include <bindings.dsl.h> #include <lzma.h> 
src/Codec/Compression/Lzma/Enumerator.hs view
@@ -140,7 +140,7 @@   -- the normal case, we have some results..   | availOut < bufferSize = do       x <- getChunk streamPtr availOut-      if availIn == 0 -- no more input, stop processing+      if availIn == 0 && action /= c'LZMA_FINISH -- no more input, stop processing         then return $ E.Chunks [x]         else do           -- run lzma_code forward just far enough to read all the input buffer