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

Re: xmemdup patches

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Sep 17, 2007, 16:39 UTC
Message-ID
<Pine.LNX.4.64.0709171739010.28586@racer.site>
In-Reply-To
<20070917161113.GB460@artemis.corp>
Hi,
On Mon, 17 Sep 2007, Pierre Habouzit wrote:
>   I'm not a huge fan of "xmemdup" as I would not have supposed that a
> function called like that would add the extra NUL, so I'm 100% okay with
> someone coming up with any better name.
xmemdupz()?

Ciao, Dscho

Previous: Pierre HabouzitNext: Pierre Habouzit
Message 7 of 8 in “xmemdup patches”
  1. Pierre HabouzitSep 17, 2007
  2. 1/2 Add xmemdup that duplicates a block of memory, and NUL terminates it.Pierre Habouzit, Sep 15, 2007
  3. 2/2 Use xmemdup in many places.Pierre Habouzit, Sep 15, 2007
  4. Junio C HamanoSep 19, 2007
  5. Pierre HabouzitSep 19, 2007
  6. Pierre HabouzitSep 17, 2007
  7. Johannes SchindelinSep 17, 2007
  8. Pierre HabouzitSep 17, 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.