//WebSVN/dl.php |
---|
50,9 → 50,10 |
// Create a temporary directory. Here we have an unavoidable but highly |
// unlikely to occure race condition |
$tmpfile1 = tempnam("temp", "wsvn"); |
$tmpfile2 = tempnam("temp", "wsvn"); |
$tmpname = $tmpfile1.$tmpfile2; |
//$tmpfile1 = tempnam("temp", "wsvn"); |
//$tmpfile2 = tempnam("temp", "wsvn"); |
//$tmpname = $tmpfile1.$tmpfile2; |
$tmpfile = tempnam("temp", "wsvn"); |
if (mkdir($tmpname)) |
{ |
// Get the name of the directory being archived |