Hello.
Try all addresses for given remote name until it succeeds.
Also supports IPv6.
Signed-of-by: Hideaki YOSHIFUJI [EMAIL PROTECTED]
diff --git a/connect.c b/connect.c
--- a/connect.c
+++ b/connect.c
@@ -96,42 +96,57 @@ static enum protocol get_protocol(const
die(I don't handle
In article [EMAIL PROTECTED] (at Fri, 22 Jul 2005 23:09:13 +0200), Petr
Baudis [EMAIL PROTECTED] says:
-}
+#define STR_(s)# s
+#define STR(s) STR_(s)
Uh-huh? Why two macros? Well, why any macros at all?
:
+ char *colon, *end;
+ char *port = STR(DEFAULT_GIT_PORT);
+
In article [EMAIL PROTECTED] (at Fri, 22 Jul 2005 23:21:51 +0200), Petr
Baudis [EMAIL PROTECTED] says:
this whole getaddrinfo() magic looks horribly complicated. What's wrong
on just adding a similar code (or factoring it out to a function) for
IPv6 as there is for IPv4, just s/INET/INET6/?
In article [EMAIL PROTECTED] (at Sun, 21 Aug 2005 16:17:52 -0700 (PDT)),
Linus Torvalds [EMAIL PROTECTED] says:
getopt() is too limited, and getopt_long() is very glibc-specific and thus
inherently evil. And the complexity of doing autoconf or similar is worse
than just doing it by hand.
4 matches
Mail list logo