Remove the TMPDIR env var
It isn't set by default on Linux either and it makes the tempnam libc function always create the temporary file in /tmp rather than prefer the caller indicated location.
It isn't set by default on Linux either and it makes the tempnam libc function always create the temporary file in /tmp rather than prefer the caller indicated location.