ftphs 1.0.7 → 1.0.8
raw patch · 2 files changed
+5/−5 lines, 2 filesdep −haskell98PVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: haskell98
API changes (from Hackage documentation)
- Network.FTP.Client.Parser: forcexresp :: (Num a, Ord a, Show t) => a -> (a, t) -> (a, t)
+ Network.FTP.Client.Parser: forcexresp :: (Num a, Ord a, Show a, Show t) => a -> (a, t) -> (a, t)
Files
- ftphs.cabal +2/−2
- src/Network/FTP/Client.hs +3/−3
ftphs.cabal view
@@ -1,5 +1,5 @@ Name: ftphs-Version: 1.0.7+Version: 1.0.8 License: LGPL Maintainer: John Goerzen <jgoerzen@complete.org> Author: John Goerzen@@ -39,7 +39,7 @@ Extensions: ExistentialQuantification, OverlappingInstances, UndecidableInstances, CPP Build-Depends: network, parsec, base >= 3 && < 5,- haskell98, mtl, regex-compat, + mtl, regex-compat, hslogger, MissingH>=1.0.0 GHC-Options: -O2
src/Network/FTP/Client.hs view
@@ -445,9 +445,9 @@ {- | Downloads a file from remote and saves to disk in binary mode. Note: filename is used for both local and remote. -} downloadbinary :: FTPConnection -> String -> IO FTPResult-downloadbinary h fn = do r <- getbinary h fn- writeBinaryFile fn (fst r)- return (snd r)+downloadbinary h fn = do (r0, r1) <- getbinary h fn+ writeBinaryFile fn r0+ return r1 {- | Retrieves a list of files in the given directory.