mirror of
https://github.com/git/git.git
synced 2024-11-09 02:33:11 +01: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;
|
||
|
}
|