compat / mkdtemp.con commit Merge the attributes fix in from maint-1.6.6 branch (6c65b5e)
   1#include "../git-compat-util.h"
   2
   3char *gitmkdtemp(char *template)
   4{
   5        if (!*mktemp(template) || mkdir(template, 0700))
   6                return NULL;
   7        return template;
   8}