swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Raw File
Tip revision: fc54c1af3ec09bab8b8ea09768c2da4069b7f53e authored by Junio C Hamano on 22 May 2018, 05:28:26 UTC
Git 2.17.1
Tip revision: fc54c1a
mkdtemp.c
#include "../git-compat-util.h"

char *gitmkdtemp(char *template)
{
	if (!*mktemp(template) || mkdir(template, 0700))
		return NULL;
	return template;
}
back to top