Commit 239b954f authored by Mikaël Salson's avatar Mikaël Salson

align.cgi: Put temporary file in /tmp

I thought mkstemp would do that by itself. While it may seem not very satistfactory to hardcode
the path, /tmp is POSIX.
parent aab9fd86
......@@ -53,7 +53,7 @@ int main(int argc, char* argv[])
const char* fdata;
ostringstream ost;
char filename[] = "VidjilAlignXXXXXX";
char filename[] = "/tmp/VidjilAlignXXXXXX";
JsonList result;
bool error = false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment