This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]