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

Re: [PATCH] Rename dynamic memory allocation functions to their "x" version

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 10, 2008, 04:11 UTC
Message-ID
<7vprnczlkx.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<200809092157.10185.dotanba@gmail.com>
Dotan Barak <dotanba@gmail.com> writes:
Show 5 quoted lines
> In places that the standard malloc/strdup is used without checking
> if the allocation was successful, I replaced it to xmalloc/xstrdup
> which check the memory allocation result.
>
> Signed-off-by: Dotan Barak <dotanba@gmail.com>
Looks good.  Will apply, but I'd retitle it (it is not "rename").
Thanks.
Previous: Dotan BarakNext: Dotan Barak
Message 2 of 3 in “Rename dynamic memory allocation functions to their "x" version”
  1. Rename dynamic memory allocation functions to their "x" versionDotan Barak, Sep 9, 2008
  2. Junio C HamanoSep 10, 2008
  3. Dotan BarakSep 10, 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.