swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Raw File
Tip revision: d1259ce117d0714f1441956805612fb36d7ce7f8 authored by Junio C Hamano on 17 March 2020, 20:42:38 UTC
Git 2.20.3
Tip revision: d1259ce
mkdtemp.c
#include "../git-compat-util.h"

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