On 08/30/2017 07:53 PM, DJ Delorie wrote: > > Looks good to me, although I wonder if ENOMEM is the right error - is it > really a lack of memory, or is it an invalid parameter (EDOM, > EOVERFLOW)? calloc and malloc return ENOMEM in this situation, too. Thanks, Florian