swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Raw File
Tip revision: 88fcc52e4468d5dfef4f50d2bdee4b168a855368 authored by Junio C Hamano on 15 December 2010, 19:19:11 UTC
Git 1.6.4.5
Tip revision: 88fcc52
mkdtemp.c
#include "../git-compat-util.h"

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