fix tempnam name generation, and a small bug in tmpnam on retry limit
[musl] / src / signal / restore.c