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