9 lines
153 B
C
9 lines
153 B
C
|
#include "../git-compat-util.h"
|
||
|
|
||
|
char *gitmkdtemp(char *template)
|
||
|
{
|
||
|
if (!*mktemp(template) || mkdir(template, 0700))
|
||
|
return NULL;
|
||
|
return template;
|
||
|
}
|