//WebSVN/dl.php
50,9 → 50,11
// Create a temporary directory. Here we have an unavoidable but highly
// unlikely to occure race condition
 
$tmpname = tempnam("temp", "wsvn"); //!!!
//$tmpnam1 = tempnam("temp", "wsvn");
//$tmpname2 = tempnam("temp", "wsvn");
$tmpname = tempnam("temp", "wsvn");
unlink($tmpname);
if (mkdir($tmpname))
if (mkdir("ble_".$tmpname))
{
// Get the name of the directory being archived
$arcname = substr($path, 0, -1);