Closed avacariu closed 9 years ago
It might be even better to just use mkdtemp() and not specify the directory at all, because it should use /tmp automatically if that's right for the system.
That's a good point. I'll get rid of the dir
parameter completely.
The Temp/ folder was created in the Makefile, and was a relative path (restricting what the pwd could be when executing the program). This caused a few issues.
/tmp is a standard place for putting these kinds files and we're usually guaranteed that it will have the correct permissions for writing to it.
Fixes #179