There is a duplicate call to __set_errno in function __initstate_r in file random_r.c. After the label "fail", there is already a call to __set_errno.
Created attachment 4251 [details] Remove duplicate call to __set_errno in __initstate_r.
Fixed in git.