repo.or.cz
/
git
/
jnareb-git
/
bp-gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
builtin-remote: make rm operation safer in mirrored repository
[git/jnareb-git/bp-gitweb.git]
/
compat
/
mkdtemp.c
blob
34d4b49818b0896b9db19b2b1387f142cbbbd42b
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
}