packages feed

simple-sendfile 0.1.2 → 0.1.3

raw patch · 2 files changed

+8/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/Sendfile/MacOS.hsc view
@@ -1,4 +1,4 @@-{-# LANGUAGE ForeignFunctionInterface #-}+{-# LANGUAGE CPP, ForeignFunctionInterface #-}  module Network.Sendfile.MacOS (sendfile) where @@ -7,7 +7,11 @@ import Control.Monad import Data.Int import Foreign.C.Error (eAGAIN, eINTR, getErrno, throwErrno)+#if __GLASGOW_HASKELL__ >= 703+import Foreign.C.Types (CInt(CInt))+#else import Foreign.C.Types (CInt)+#endif import Foreign.Marshal (alloca) import Foreign.Ptr (Ptr, nullPtr) import Foreign.Storable (peek, poke)@@ -15,6 +19,8 @@ import Network.Socket import System.Posix.IO import System.Posix.Types (Fd(..))++#include <sys/types.h>  {-|    Simple binding for sendfile() of MacOS.
simple-sendfile.cabal view
@@ -1,5 +1,5 @@ Name:                   simple-sendfile-Version:                0.1.2+Version:                0.1.3 Author:                 Kazu Yamamoto <kazu@iij.ad.jp> Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp> License:                BSD3