hdaemonize 0.5.6 → 0.5.7
raw patch · 2 files changed
+7/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- System/Posix/Daemonize.hs +4/−0
- hdaemonize.cabal +3/−3
System/Posix/Daemonize.hs view
@@ -289,7 +289,11 @@ closeFileDescriptors :: IO () closeFileDescriptors =+#if MIN_VERSION_unix(2,8,0)+ do null <- openFd "/dev/null" ReadWrite defaultFileFlags+#else do null <- openFd "/dev/null" ReadWrite Nothing defaultFileFlags+#endif let sendTo fd' fd = closeFd fd >> dupTo fd' fd mapM_ (sendTo null) [stdInput, stdOutput, stdError]
hdaemonize.cabal view
@@ -1,6 +1,6 @@ Name: hdaemonize-Version: 0.5.6-Cabal-Version: >= 1.6+Version: 0.5.7+Cabal-Version: >= 1.10 License: BSD3 License-file: LICENSE Author: Anton Tayanovskyy, Fred Ross, Lana Black@@ -16,7 +16,6 @@ handling, dropping privileges). Build-Type: Simple Extra-Source-Files: README.md-Tested-With: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.4, GHC == 8.6.5 Library Build-Depends: base >= 4 && < 5@@ -26,6 +25,7 @@ , extensible-exceptions , filepath , mtl+ Default-Language: Haskell2010 Exposed-modules: System.Posix.Daemonize if impl(ghc > 6.12) Ghc-Options: -Wall -fno-warn-unused-do-bind -fno-warn-type-defaults -fno-warn-name-shadowing