mirror of
https://github.com/git/git.git
synced 2024-11-05 08:47:56 +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;
|
||
|
}
|