Windows: Fix S3 special remote; need to call withSocketsDo to support Windows. Thanks, Trent.
This commit is contained in:
parent
c79cb9b054
commit
bf9058ac4f
3 changed files with 6 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -31,6 +31,8 @@ git-annex (5.20150114) UNRELEASED; urgency=medium
|
|||
* Remove support for building without cryptohash.
|
||||
* Added MD5 and MD5E backends.
|
||||
* assistant: Fix local pairing when ssh pubkey comment contains spaces.
|
||||
* Windows: Fix S3 special remote; need to call withSocketsDo to support
|
||||
Windows. Thanks, Trent.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Tue, 13 Jan 2015 17:03:39 -0400
|
||||
|
||||
|
|
|
@ -38,3 +38,5 @@ index cdaa754..0eed9db 100644
|
|||
run ps =<< getProgName
|
||||
where
|
||||
"""]]
|
||||
|
||||
> Thanks very much for the patch! [[done]] --[[Joey]]
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
import System.Environment (getArgs, getProgName)
|
||||
import System.FilePath
|
||||
import Network.Socket (withSocketsDo)
|
||||
|
||||
import qualified CmdLine.GitAnnex
|
||||
import qualified CmdLine.GitAnnexShell
|
||||
|
@ -22,7 +23,7 @@ import Utility.Env
|
|||
#endif
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
main = withSocketsDo $ do
|
||||
ps <- getArgs
|
||||
run ps =<< getProgName
|
||||
where
|
||||
|
|
Loading…
Reference in a new issue