Git development
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@linux-ipv6.org>
Cc: pasky@suse.cz, git@vger.kernel.org
Subject: Re: [PATCH 1/2] GIT: Try all addresses for given remote name
Date: Sat, 23 Jul 2005 00:15:50 +0000	[thread overview]
Message-ID: <20050723001550.GB8047@mars.ravnborg.org> (raw)
In-Reply-To: <20050722.172629.73295196.yoshfuji@linux-ipv6.org>

On Fri, Jul 22, 2005 at 05:26:29PM -0400, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
> In article <20050722210913.GH11916@pasky.ji.cz> (at Fri, 22 Jul 2005 23:09:13 +0200), Petr Baudis <pasky@suse.cz> 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);
> > > +	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

      parent reply	other threads:[~2005-07-22 22:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 13:10 [PATCH 1/2] GIT: Try all addresses for given remote name YOSHIFUJI Hideaki / 吉藤英明
2005-07-22 21:09 ` Petr Baudis
2005-07-22 21:26   ` YOSHIFUJI Hideaki / 吉藤英明
2005-07-22 21:37     ` Petr Baudis
2005-07-23  0:15     ` Sam Ravnborg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050723001550.GB8047@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox