Chen Guo wrote:
> Ah how ridiculously careless of me. >.<
>
> I've ran through the checklist you provided, minus the mallocs.

Thanks!

> When would it be not ok to exit upon malloc failure? I've ran through all of 
> sort.c and it seems in all cases of memory allocation xmalloc or xnmalloc are 
> used. Thanks!

It's inappropriate in library-style code, and sort.c is not that,
so using x*alloc is all you need to do.


Reply via email to