packages feed

unix-bytestring 0.3.5.4 → 0.3.6

raw patch · 6 files changed

+20/−9 lines, 6 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- System.Posix.Types.Iovec: CIovec :: {-# UNPACK #-} !Ptr Word8 -> {-# UNPACK #-} !CSize -> CIovec
+ System.Posix.Types.Iovec: CIovec :: {-# UNPACK #-} !(Ptr Word8) -> {-# UNPACK #-} !CSize -> CIovec
- System.Posix.Types.Iovec: iov_base :: CIovec -> {-# UNPACK #-} !Ptr Word8
+ System.Posix.Types.Iovec: iov_base :: CIovec -> {-# UNPACK #-} !(Ptr Word8)

Files

LICENSE view
@@ -8,7 +8,7 @@  === unix-bytestring license === -Copyright (c) 2010, 2011, 2012, wren ng thornton.+Copyright (c) 2010--2013, wren ng thornton. ALL RIGHTS RESERVED.  Redistribution and use in source and binary forms, with or without
README view
@@ -14,7 +14,11 @@     $> runhaskell Setup.hs build     $> runhaskell Setup.hs test     $> runhaskell Setup.hs haddock --hyperlink-source-    $> runhaskell Setup.hs install+    $> runhaskell Setup.hs copy+    $> runhaskell Setup.hs register++The test step is optional and currently does nothing. The Haddock+step is also optional.   FFI Problems
VERSION view
@@ -1,3 +1,5 @@+0.3.6 (2013-05-29):+	- System.Posix.Types.Iovec: adjusted unsafeForeignPtrToPtr for GHC 7.8 0.3.5.4 (2012-08-23): 	- System.Posix.IO.ByteString: adjusted some imports for GHC 7.6 	- Removed the custom Setup.hs, for compatibility with GHC 7.6
src/System/Posix/IO/ByteString/Lazy.hs view
@@ -1,4 +1,5 @@ {-# OPTIONS_GHC -Wall -fwarn-tabs #-}+-- TODO: cf <http://hpaste.org/76873> ---------------------------------------------------------------- --                                                    2011.03.17 -- |
src/System/Posix/Types/Iovec.hsc view
@@ -7,10 +7,10 @@ {-# LANGUAGE ForeignFunctionInterface #-} {-# OPTIONS_GHC -Wall -fwarn-tabs -fno-warn-unused-imports #-} -------------------------------------------------------------------                                                    2011.03.17+--                                                    2013.05.29 -- | -- Module      :  System.Posix.Types.Iovec--- Copyright   :  Copyright (c) 2010--2012 wren ng thornton+-- Copyright   :  Copyright (c) 2010--2013 wren ng thornton -- License     :  BSD -- Maintainer  :  wren@community.haskell.org -- Stability   :  experimental@@ -35,6 +35,10 @@ import           Foreign.Ptr              (Ptr) import qualified Foreign.Ptr              as FFI (castPtr, plusPtr) import qualified Foreign.ForeignPtr       as FFP+import qualified GHC.ForeignPtr           as GHC_FFP+-- #if ???+-- import qualified Foreign.ForeignPtr.Unsafe as FFP (unsafeForeignPtrToPtr)+-- #endif import           Foreign.C.Types          (CSize) import           Foreign.Storable         (Storable(..)) @@ -98,7 +102,7 @@ unsafeByteString2CIovec :: BS.ByteString -> CIovec unsafeByteString2CIovec (BSI.PS fptr offset len) =     CIovec-        (FFP.unsafeForeignPtrToPtr fptr `FFI.plusPtr` offset)+        (GHC_FFP.unsafeForeignPtrToPtr fptr `FFI.plusPtr` offset)         (fromIntegral len) {-# INLINE unsafeByteString2CIovec #-} 
unix-bytestring.cabal view
@@ -1,5 +1,5 @@ ------------------------------------------------------------------- wren ng thornton <wren@community.haskell.org>    ~ 2012.08.23+-- wren ng thornton <wren@community.haskell.org>    ~ 2013.05.29 ----------------------------------------------------------------  -- By and large Cabal >=1.2 is fine; but >= 1.6 gives tested-with:@@ -8,12 +8,12 @@ Build-Type:     Simple  Name:           unix-bytestring-Version:        0.3.5.4+Version:        0.3.6 Stability:      experimental Homepage:       http://code.haskell.org/~wren/ Author:         wren ng thornton Maintainer:     wren@community.haskell.org-Copyright:      Copyright (c) 2010--2012 wren ng thornton+Copyright:      Copyright (c) 2010--2013 wren ng thornton License:        BSD3 License-File:   LICENSE @@ -33,7 +33,7 @@     an @Fd@, so we're not offering a complete replacement.  Tested-With:-    GHC == 6.12.1, GHC == 6.12.3+    GHC == 6.12.1, GHC == 6.12.3, GHC == 7.6.1 Extra-source-files:     README, VERSION Source-Repository head