]> git.ipfire.org Git - thirdparty/git.git/blame - compat/mkdtemp.c
Merge branch 'jk/escaped-wildcard-dwim'
[thirdparty/git.git] / compat / mkdtemp.c
CommitLineData
ca5bb5d5
SP
1#include "../git-compat-util.h"
2
3char *gitmkdtemp(char *template)
4{
1f80c2af 5 if (!*mktemp(template) || mkdir(template, 0700))
ca5bb5d5
SP
6 return NULL;
7 return template;
8}