fix major bug created from copying mkdtemp logic
[musl] / src / thread / clone.c