tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rpcgen(1), issues with System XVI



On Sun, Sep 20, 2015 at 05:12:50PM +0200, Kamil Rytarowski wrote:
> I didn't want to be better the the rest of this file, eg:
> 
>         res = alloc(strlen(file) + strlen(ext) + 1);
>         if (res == NULL) {
>                 errx(1, "Out of memory");
>         }

This kind of things generally look nicer with (e)asprintf.

Joerg


Home | Main Index | Thread Index | Old Index