[LTP] [PATCH v3 1/4] Add stat04 test

Petr Vorel pvorel@suse.cz
Wed Jul 10 16:44:03 CEST 2024


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


More information about the ltp mailing list