There is a race condition between calling ‘make-temp-name’ and
later creating the file, which opens all kinds of security holes.
For that reason, you should normally use ‘make-temp-file’ instead.
This also makes the code simpler as it automatically performs the
expansion with temporary-file-directory.
There is a race condition between calling ‘make-temp-name’ and later creating the file, which opens all kinds of security holes. For that reason, you should normally use ‘make-temp-file’ instead.
This also makes the code simpler as it automatically performs the expansion with temporary-file-directory.