compat / mkdtemp.con commit wt-status: use skip_prefix() to get rid of magic string length constants (c72b49d)
   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}