//WebSVN/dl.php
50,10 → 50,9
// Create a temporary directory. Here we have an unavoidable but highly
// unlikely to occure race condition
 
//$tmpnam1 = tempnam("temp", "wsvn");
//$tmpname2 = tempnam("temp", "wsvn");
$tmpname1 = tempnam("temp", "wsvn-");
$tmpname = $tmpname1;
$tmpname .= "dir";
unlink($tmpname1);
if (mkdir($tmpname))
{