"James Youngman" <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 22, 2008 at 9:04 AM, Jim Meyering <[EMAIL PROTECTED]> wrote:
...
>>  +         h = realloc (g, max_n_groups * sizeof *h);
>
> Shouldn't realloc here be xnrealloc?

No.  This function is intended to be usable from a library.
I.e., no fair calling exit, which xnrealloc does when it fails.

Also, the function header comment says what happens
when it fails, and "exit" is not mentioned.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to