compat / mkdtemp.con commit Work around a regression in Windows 7, causing erase_in_line() to crash sometimes (492f709)
   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}