Hi Andrea,
> +static void cleanup(void)
> +{
> + if (tmpdir)
> + free(tmpdir);
> +
> + if (access(SYMBNAME, F_OK) != -1)
> + SAFE_UNLINK(SYMBNAME);
nit: I would remove this (not needed).
+ Cyril's note about using asprintf(), hopefully v4 will be merged.
Thanks!
Kind regards,
Petr