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