pipes-zlib 0.4.2 → 0.4.2.1
raw patch · 3 files changed
+7/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +5/−0
- pipes-zlib.cabal +1/−1
- src/Pipes/Zlib.hs +1/−4
changelog.md view
@@ -1,3 +1,8 @@+# Version 0.4.2.1++* Fix “Codec.Compression.Zlib: premature end of compressed stream” (#13)++ # Version 0.4.2 * Added the `Pipes/GZip.hs` file that was missing in 0.4.1.
pipes-zlib.cabal view
@@ -1,5 +1,5 @@ name: pipes-zlib-version: 0.4.2+version: 0.4.2.1 license: BSD3 license-file: LICENSE Copyright: Copyright (c) Paolo Capriotti 2012,
src/Pipes/Zlib.hs view
@@ -67,10 +67,7 @@ r <- for p0 $ \bs -> do popper <- liftIO (Z.feedDeflate def bs) fromPopper popper- mbs <- liftIO $ Z.finishDeflate def- case mbs of- Just bs -> yield bs- Nothing -> return ()+ fromPopper $ Z.finishDeflate def return r {-# INLINABLE compress #-}