filelock 0.1.1.3 → 0.1.1.4
raw patch · 2 files changed
+5/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- System/FileLock/Internal/Flock.hsc +4/−0
- filelock.cabal +1/−1
System/FileLock/Internal/Flock.hsc view
@@ -39,7 +39,11 @@ open :: FilePath -> IO Fd open path = do+#if MIN_VERSION_unix(2,8,0)+ fd <- openFd path WriteOnly defaultFileFlags+#else fd <- openFd path WriteOnly (Just stdFileMode) defaultFileFlags+#endif -- Ideally, we would open the file descriptor with CLOEXEC enabled, but since -- unix 2.8 hasn't been released yet and we want backwards compatibility with -- older releases, we set CLOEXEC after opening the file descriptor. This
filelock.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: filelock-version: 0.1.1.3+version: 0.1.1.4 synopsis: Portable interface to file locking (flock / LockFileEx) description: This package provides an interface to Windows and Unix file locking functionalities.