cautious-file 1.0.1 → 1.0.2
raw patch · 3 files changed
+4/−4 lines, 3 filesdep ~bytestringdep ~directorydep ~filepathPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bytestring, directory, filepath
API changes (from Hackage documentation)
Files
cautious-file.cabal view
@@ -1,5 +1,5 @@ name: cautious-file-version: 1.0.1+version: 1.0.2 Cabal-Version: >= 1.6 synopsis: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures description: On non-Windows systems, posix-specific functions are used to reduce the chance of data loss further@@ -25,7 +25,7 @@ Library hs-source-dirs: src- build-Depends: base >= 4, base < 5, directory == 1.1.*, filepath >= 1.2, filepath < 1.4, bytestring == 0.9.*+ build-Depends: base >= 4, base < 5, directory >= 1.1, directory < 1.3, filepath >= 1.2, filepath < 1.4, bytestring >= 0.9, bytestring < 0.11 if flag(posix) && !os(Windows) cpp-options: -D_POSIX build-Depends: unix
src/System/Posix/ByteLevel.hsc view
@@ -9,7 +9,7 @@ import Data.Function (fix) import Foreign.C.Error (throwErrnoIfMinus1Retry) import Foreign.C.String (CString, CStringLen)-import Foreign.C.Types (CInt, CSize)+import Foreign.C.Types (CInt(..), CSize(..)) import System.Posix.Types (ByteCount, Fd(..)) #include <unistd.h>
src/System/Posix/Fsync.hsc view
@@ -2,7 +2,7 @@ module System.Posix.Fsync (fsync) where import Foreign.C.Error (throwErrnoIfMinus1_)-import Foreign.C.Types (CInt)+import Foreign.C.Types (CInt(..)) import System.Posix.Types (Fd(..)) #include <unistd.h>