the historic mktemp is supposed to blank the template string on failure, rather than returning 0. just zero the first character so that mkstemp and mkdtemp can still retry with O(1) space requirement. |
||
|---|---|---|
| .. | ||
| mkdtemp.c | ||
| mkstemp.c | ||
| mktemp.c | ||
the historic mktemp is supposed to blank the template string on failure, rather than returning 0. just zero the first character so that mkstemp and mkdtemp can still retry with O(1) space requirement. |
||
|---|---|---|
| .. | ||
| mkdtemp.c | ||
| mkstemp.c | ||
| mktemp.c | ||