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
DBDotan Barak <dotanba@gmail.com>
Date
Sep 10, 2008, 06:02 UTC
Message-ID
<2f3bf9a60809092302u1b8616e6pee3c54003896671c@mail.gmail.com>
In-Reply-To
<7vprnczlkx.fsf@gitster.siamese.dyndns.org>
On Wed, Sep 10, 2008 at 7:11 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> Dotan Barak <dotanba@gmail.com> writes:
>
>> 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").
>
Yes, you are right, i guess "replace" is better ...

Next time.. ;)

Dotan
> Thanks.
>
>
Previous: Junio C Hamano
Message 3 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.