Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [PATCH 1/2] GIT: Try all addresses for given remote name

From: Sam Ravnborg <hidden>
Date: 2016-06-15 22:42:02

On Fri, Jul 22, 2005 at 05:26:29PM -0400, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
In article [ref] (at Fri, 22 Jul 2005 23:09:13 +0200), Petr Baudis [off-list ref] says:
quoted
quoted
-}
+#define STR_(s)	# s
+#define STR(s)	STR_(s)
Uh-huh? Why two macros? Well, why any macros at all?
:
quoted
quoted
+	char *colon, *end;
+	char *port = STR(DEFAULT_GIT_PORT);
+	struct addrinfo hints, *ai0, *ai;
The macro is used here.
You could copy the include/linux/stingify.h file from the kernel also.
That makes it available for other users also.

	Sam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help