+git-annex (8.20201008) UNRELEASED; urgency=medium
+
+ * Fix build on Windows with network-3.
+
+ -- Joey Hess <id@joeyh.name> Thu, 08 Oct 2020 10:48:17 -0400
+
git-annex (8.20201007) upstream; urgency=medium
* --json output now includes a new field "input" which is the input
getSocket :: Maybe HostName -> IO Socket
getSocket h = do
#if defined (mingw32_HOST_OS)
- -- getAddrInfo currently segfaults on Android.
-- The HostName is ignored by this code.
+ -- getAddrInfo didn't used to work on windows; current status
+ -- unknown.
when (isJust h) $
error "getSocket with HostName not supported on this OS"
- addr <- inet_addr "127.0.0.1"
+ let addr = tupleToHostAddress (127,0,0,1)
sock <- socket AF_INET Stream defaultProtocol
preparesocket sock
bind sock (SockAddrInet defaultPort addr)
--- /dev/null
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2020-10-08T14:38:26Z"
+ content="""
+Those came from the network library, but were removed in network-3.0.
+
+I've updated it to work with the new library.
+"""]]