Commit 57765b8c authored by Alexandre Julliard's avatar Alexandre Julliard

libport: Don't clear the buffer on failure in mkstemps.

parent 2f4f9ee1
......@@ -133,7 +133,5 @@ mkstemps (
value += 7777;
}
/* We return the null string if we can't find a unique file name. */
template[0] = '\0';
return -1;
}
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