git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Andrew Wozniak <awozniak@mc.com>
Cc: git@vger.kernel.org, Nick Hengeveld <nickh@reactrix.com>
Subject: Re: recent patch breaks the build ?
Date: Wed, 16 Nov 2005 11:15:59 -0800	[thread overview]
Message-ID: <7v64qs8kuo.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <437B6997.8010903@mc.com> (Andrew Wozniak's message of "Wed, 16 Nov 2005 12:17:11 -0500")

Andrew Wozniak <awozniak@mc.com> writes:

> Have just started using git for u-boot related development. After 
> downloading git-snapshot-20051116 tarball and attempting a build under 
> RH7.2, I get the following failure:

Would this help?

-- >8 --

diff --git a/http-fetch.c b/http-fetch.c
index 21cc1b9..45e97f9 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -902,16 +902,18 @@ static void fetch_alternates(char *base)
 	char *data;
 	struct active_request_slot *slot;
 	static struct alt_request alt_req;
-	int num_transfers;
 
+#ifdef USE_CURL_MULTI
 	/* If another request has already started fetching alternates,
 	   wait for them to arrive and return to processing this request's
 	   curl message */
 	while (got_alternates == 0) {
+		int num_transfers;
 		curl_multi_perform(curlm, &num_transfers);
 		process_curl_messages();
 		process_request_queue();
 	}
+#endif
 
 	/* Nothing to do if they've already been fetched */
 	if (got_alternates == 1)

  reply	other threads:[~2005-11-16 19:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 17:17 recent patch breaks the build ? Andrew Wozniak
2005-11-16 19:15 ` Junio C Hamano [this message]
2005-11-16 19:47   ` Andrew Wozniak
2005-11-16 20:18     ` Andreas Ericsson
2005-11-16 20:25     ` Junio C Hamano
2005-11-16 20:33     ` Nick Hengeveld
2005-11-16 23:25       ` Johannes Schindelin
2005-11-17  0:46         ` Nick Hengeveld
2005-11-17  1:15           ` Junio C Hamano
2005-11-17  2:10             ` Nick Hengeveld
2005-11-17 10:33               ` Junio C Hamano
2005-11-17 11:15                 ` Johannes Schindelin
2005-11-17 12:00 ` Johannes Schindelin
2005-11-17 15:57   ` Nick Hengeveld
2005-11-17 16:22     ` Johannes Schindelin

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=7v64qs8kuo.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=awozniak@mc.com \
    --cc=git@vger.kernel.org \
    --cc=nickh@reactrix.com \
    /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;
as well as URLs for NNTP newsgroup(s).