Re: [PATCH] Rename dynamic memory allocation functions to their "x" version
- From
- Dotan 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. > >