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

Re: [PATCH] string-list: make compare function compatible with qsort(3)

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 21, 2016, 20:47 UTC
Message-ID
<xmqqd1glhuwh.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqy3z9i24x.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
> I do agree that non-reentrancy is an issue that is worth solving,
> though.

I sounded overly negative, but I do not think of any way other than this patch to solve the reentrancy issue without using qsort_s(). Between the two, my preference is still the latter, but I could be persuaded, I would guess.

Previous: Junio C Hamano
Message 5 of 5 in “string-list: make compare function compatible with qsort(3)”
  1. string-list: make compare function compatible with qsort(3)René Scharfe, Dec 21, 2016
  2. Jeff KingDec 21, 2016
  3. René ScharfeDec 29, 2016
  4. Junio C HamanoDec 21, 2016
  5. Junio C HamanoDec 21, 2016

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.