t: move 'test_i18ncmp' and 'test_i18ngrep' to 'test-lib-functions.sh'
[alt-git.git] / compat / mkdtemp.c
blob11361195925c674423309d40f343c88f58b7bc1e
1 #include "../git-compat-util.h"
3 char *gitmkdtemp(char *template)
5 if (!*mktemp(template) || mkdir(template, 0700))
6 return NULL;
7 return template;