Sign in
code
/
git
/
0ed16dc3c4f60ac79f9f51b4b991bf36d7ab73ea
/
.
/
compat
/
mkdtemp.c
blob: 11361195925c674423309d40f343c88f58b7bc1e [
file
]
#include
"../git-compat-util.h"
char
*
gitmkdtemp
(
char
*
template
)
{
if
(!*
mktemp
(
template
)
||
mkdir
(
template
,
0700
))
return
NULL
;
return
template
;
}