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

Re: Trying to get GIT running on SCO OpenServer

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 24, 2008, 02:48 UTC
Message-ID
<7vodbcaqh2.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<4797F902.4000104@zytor.com>
"H. Peter Anvin" <hpa@zytor.com> writes:
Show 20 quoted lines
> Junio C Hamano wrote:
>> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>>
>>> FWIW we had the same problem in MinGW, and Hannes Sixt solved it:
>>>
>>> http://repo.or.cz/w/git/mingw/j6t.git?a=commitdiff;h=b8e84a68f01a2386b2071e1bdc8e24de809a3f6d
>>>
>>> That might give you an idea how to solve the issue.  Maybe you even
>>> make a git patch out of it?  With a Makefile variable
>>> BROKEN_SNPRINTF=YesPlease, maybe?
>>
>> Hmmm.  Looking at that change makes me wonder if that solution
>> is Kosher.  The value of the va_list you pass to vsnprintf() is
>> unspecified after the call.
>>
>> It may be Ok as mingw-only "compatibility wrapper", but I think
>> you have to be a bit careful.  It is not a general solution for
>> any BROKEN_SNPRINTF.
>
> That's what va_copy() is for.
Yes.  See 4bf53833dbca666f61b5177977e96d453527db20 ;-)
Previous: H. Peter AnvinNext: Linus Torvalds
Message 6 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.