mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-20 22:24:09 +00:00
libport: Don't clear the buffer on failure in mkstemps.
This commit is contained in:
parent
2f4f9ee1cb
commit
57765b8c30
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue