[PATCH v3 3/3] Add tests with floating-point arguments for err* and verr* functions

Florian Weimer fweimer@redhat.com
Mon Nov 5 11:41:00 GMT 2018


* Gabriel F. T. Gomes:

> +static void
> +callback_err (void *closure)
> +{
> +  err (0, "%Lf", (long double) -1);
> +}

Same problem as in the other test: You need to initialize errno in each
subprocess callback.

Otherwise, looks okay.  You can commit if you add the errno
initialization.

Thanks,
Florian



More information about the Libc-alpha mailing list