mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
9 lines
152 B
C
9 lines
152 B
C
|
#include "../git-compat-util.h"
|
||
|
|
||
|
char *gitmkdtemp(char *template)
|
||
|
{
|
||
|
if (!mktemp(template) || mkdir(template, 0700))
|
||
|
return NULL;
|
||
|
return template;
|
||
|
}
|