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;
|
value += 7777;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We return the null string if we can't find a unique file name. */
|
|
||||||
template[0] = '\0';
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue