This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA-v2/ARI fix] Remove use of abort function in common/buffer.c


Hi Pierre, Hi Pedro,

Thanks for taking care of this, Pierre.

> +  /* new_buffer is non NULL otherwise
> +     xrealloc calls malloc_failure which does not return here.  */

I suggest a slightly different way of saying this:

    /* xrealloc guaranties that new_buffer cannot be null.  */

It avoids the problem with the location of the line break and any issue
with punctuation...

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]