Commit 085a6f74 authored by Kevin J. McCarthy's avatar Kevin J. McCarthy

Merge branch 'stable'

parents 6f28e57d 853e48bf
Pipeline #42183618 passed with stages
in 2 minutes and 53 seconds
......@@ -28,7 +28,10 @@ char *mkdtemp (char *tmpl)
{
/* fill in the random bits */
for (j = 0, v = value; j < 6; ++j)
tmpl[(len - 6) + j] = LETTERS[v % 62]; v /= 62;
{
tmpl[(len - 6) + j] = LETTERS[v % 62];
v /= 62;
}
/* try to create the directory */
if (mkdir (tmpl, 0700) == 0)
......
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