Merge branch 'jc/maint-1.6.0-diff-borrow-carefully'
[git/mingw/4msysgit.git] / compat / mkdtemp.c
blob34d4b49818b0896b9db19b2b1387f142cbbbd42b
1 #include "../git-compat-util.h"
3 char *gitmkdtemp(char *template)
5 if (!mktemp(template) || mkdir(template, 0700))
6 return NULL;
7 return template;