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

Re: [RFD PATCH] git-fetch--tool and "insanely" long actions

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Apr 20, 2007, 07:40 UTC
Message-ID
<Pine.LNX.4.64.0704200837460.29434@beast.quantumfyre.co.uk>
In-Reply-To
<46281D0B.7080802@gmail.com>
On Thu, 19 Apr 2007, A Large Angry SCM wrote:
Show 11 quoted lines
> Julian Phillips wrote:
>>  On Thu, 19 Apr 2007, A Large Angry SCM wrote:
>> 
>> >  This fixes a problem my repository mirroring script has been having 
>> >  since
>> >  the git-fetch--tool was added to master in the middle of March. However,
>> >  it is not a proper fix since it causes actual errors from snprintf() to 
>> >  be
>> >  ignored. A proper fix is complicated by the lack of a consistent 
>> >  indicator
>> >  that the buffer is too small across snprintf() implementations.
>
> See the last sentence in my original message. Yours also ignores errors from 
> snprintf().
>

Well your last sentence was about the buffer being too small. The change I made means it won't ever be too small. True that it doesn't check for other errors.

-- 
Julian

  ---
You will be successful in your work.
Previous: A Large Angry SCM
Message 4 of 4 in “git-fetch--tool and "insanely" long actions”
  1. git-fetch--tool and "insanely" long actionsA Large Angry SCM, Apr 20, 2007
  2. Julian PhillipsApr 20, 2007
  3. A Large Angry SCMApr 20, 2007
  4. Julian PhillipsApr 20, 2007

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.