repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'jc/maint-mergetool-style-fix' into maint-1.7.11
[alt-git.git]
/
compat
/
mkdtemp.c
blob
11361195925c674423309d40f343c88f58b7bc1e
1
#include
"../git-compat-util.h"
2
3
char
*
gitmkdtemp
(
char
*
template
)
4
{
5
if
(!*
mktemp
(
template
) ||
mkdir
(
template
,
0700
))
6
return
NULL
;
7
return
template
;
8
}