Staging
v0.8.1
Revision d6958a1a32814af69a7571daa45252018c61f969 authored by Junio C Hamano on 23 April 2008, 06:37:06 UTC, committed by Junio C Hamano on 23 April 2008, 06:37:06 UTC
* maint-1.5.4:
  svn-git: Use binmode for reading/writing binary rev maps
  diff options documentation: refer to --diff-filter in --name-status
  git-svn bug with blank commits and author file
  archive.c: format_subst - fixed bogus argument to memchr
  copy.c: copy_fd - correctly report write errors
  gitattributes: Fix subdirectory attributes specified from root directory
2 parent s 491b1b1 + 4f7ec79
Raw File
mkdtemp.c
#include "../git-compat-util.h"

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