author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 20 Oct 2007 20:03:49 +0000 (16:03 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Oct 2007 02:52:21 +0000 (22:52 -0400) | ||
commit | ca5bb5d5390e4ec709ca3e11c451c58a836d4ee6 | |
tree | f697e93b3d102e9dc9fbb6cc21adb43b360ac0dd | tree | snapshot |
parent | cfa5b2b7faa1a620ec6599a63fa5b9b45bd62b57 | commit | diff |
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>
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 | diff | blob | history | |
compat/mkdtemp.c | [new file with mode: 0644] | blob |
git-compat-util.h | diff | blob | history |