lzma-conduit 0.1.2.1 → 0.1.2.2
raw patch · 2 files changed
+2/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- lzma-conduit.cabal +1/−1
- src/Data/Conduit/Lzma.hs +1/−2
lzma-conduit.cabal view
@@ -1,5 +1,5 @@ name: lzma-conduit-version: 0.1.2.1+version: 0.1.2.2 synopsis: Conduit interface for lzma/xz compression. description: High level bindings to xz-utils.
src/Data/Conduit/Lzma.hs view
@@ -163,11 +163,10 @@ -- 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 [x] else do -- run lzma_code forward just far enough to read all the input buffer- -- xs <- unsafeInterleaveIO $ buildChunks streamPtr action status xs <- buildChunks streamPtr action status return $! x:xs