/WebSVN/dl.php
50,10 → 50,8
// 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;
$tmpname = tempnam("temp", "wsvn");
$tmpname = tempnam("temp", "wsvn"); //!!!
unlink($tmpname);
if (mkdir($tmpname))
{
// Get the name of the directory being archived
107,6 → 105,4
@exec($cmd);
}
unlink($tmpname);
//unlink($tmpfile2);
?>