git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] remote-curl.c: fix rpc_out()

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Nov 24, 2009, 01:35 UTC
Message-ID
<be6fef0d0911231735g416d028al1821668be295fe6a@mail.gmail.com>
In-Reply-To
<20091123210415.GH11919@spearce.org>
Hi,
On Tue, Nov 24, 2009 at 5:04 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
Show 10 quoted lines
> If I understand the change right, the only thing that really matters
> here is removing the extra ';' in the if (max < avail) condition.
>
> That bug was the only reason why rpc->len < rpc->pos, and is thus
> the only reason why avail would "go negative" (which it can't do
> since its unsigned, it just wrapped around to a massive value).
> [snip]
> Right.  This bug is really bad and should be fixed.  But the message
> above make this some little after-thought and doesn't explain what
> was wrong with this being here.
point noted.
-- 
Cheers,
Ray Chuan
Previous: Shawn O. Pearce
Message 7 of 7 in “remote-curl.c: fix rpc_out()”
  1. 2/2 remote-curl.c: fix rpc_out()Tay Ray Chuan, Nov 23, 2009
  2. Sverre RabbelierNov 23, 2009
  3. Tay Ray ChuanNov 23, 2009
  4. Johannes SchindelinNov 23, 2009
  5. Tay Ray ChuanNov 23, 2009
  6. Shawn O. PearceNov 23, 2009
  7. Tay Ray ChuanNov 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.