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