Merge tag 'l10n-2.8.0-rnd3-fr' of git://github.com/git-l10n/git-po into maint
[git] / compat / mkdtemp.c
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 }