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

Re: Trying to get GIT running on SCO OpenServer

From
LLLuke Lu <git@vicaya.com>
Date
Jan 24, 2008, 03:01 UTC
Message-ID
<3213B93E-42FF-4D63-A3A4-BD742630CEA1@vicaya.com>
In-Reply-To
<alpine.LFD.1.00.0801231846540.2803@woody.linux-foundation.org>
On Jan 23, 2008, at 6:50 PM, Linus Torvalds wrote:
Show 10 quoted lines
>
> On Wed, 23 Jan 2008, H. Peter Anvin wrote:
>>
>> That's what va_copy() is for.
>
> Well, anybody who has such an old setup that they have a broken  
> vsnprintf,
> I'd expect they don't have va_copy() either. It's C99, I think  
> (although
> there were obviously implementations of it before that).

I wonder what's the downside of just using a native format implementation like the one in Vstr[1] or bstring[2]?

strbuf_addf would be faster and immune to the buggy/outdated host *sprintf implementations.

__Luke

[1]: http://www.and.org/vstr/ [2]: http://bstring.sourceforge.net/

Previous: Linus TorvaldsNext: Linus Torvalds
Message 8 of 10 in “Trying to get GIT running on SCO OpenServer”
  1. Aidan Van DykJan 23, 2008
  2. Johannes SchindelinJan 23, 2008
  3. Jakub NarebskiJan 24, 2008
  4. Junio C HamanoJan 24, 2008
  5. H. Peter AnvinJan 24, 2008
  6. Junio C HamanoJan 24, 2008
  7. Linus TorvaldsJan 24, 2008
  8. Luke LuJan 24, 2008
  9. Linus TorvaldsJan 24, 2008
  10. Aidan Van DykJan 24, 2008

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.