Code

Define compat version of mkdtemp for systems lacking it
authorShawn O. Pearce <spearce@spearce.org>
Sat, 20 Oct 2007 20:03:49 +0000 (16:03 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Oct 2007 02:52:21 +0000 (22:52 -0400)
commitca5bb5d5390e4ec709ca3e11c451c58a836d4ee6
treef697e93b3d102e9dc9fbb6cc21adb43b360ac0dd
parentcfa5b2b7faa1a620ec6599a63fa5b9b45bd62b57
Define compat version of mkdtemp for systems lacking it

Solaris 9 doesn't have mkdtemp() so we need to emulate it for the
rsync transport implementation.  Since Solaris 9 is lacking this
function we can also reasonably assume it is not available on
Solaris 8 either.  The new Makfile definition NO_MKDTEMP can be
set to enable the git compat version.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile
compat/mkdtemp.c [new file with mode: 0644]
git-compat-util.h