[LTP] [PATCH v1] openposix/fork/7-1.c: A bug fix

Cyril Hrubis chrubis@suse.cz
Fri Dec 11 12:26:34 CET 2020


Hi!
> As follow up after chat with Petr Vorel.
> A bug in the test was caused by the line "now = localtime(&nw);" in "output" function, as it sets "errno" variable somewhere.

localtime() shouldn't fail with anything but EOVERFLOW it's a bit
strange to see it fail there.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list