[PATCH] Stop depending on strndupa.

Dmitry V. Levin ldv@altlinux.org
Mon Oct 26 15:03:15 GMT 2020


On Mon, Oct 26, 2020 at 11:51:21AM -0300, Érico Nogueira via Elfutils-devel wrote:
[...]
> +    error (EXIT_FAILURE, 0, _("path is too long '%s'"), path);

I suggest the following alternative:

    error (EXIT_FAILURE, ENAMETOOLONG, "%s", path);


-- 
ldv


More information about the Elfutils-devel mailing list