//WebSVN/dl.php
51,7 → 51,7
// unlikely to occure race condition
 
$tmpname = tempnam("temp", "wsvn");
if (mkdir($tmpname))
if (mkdir("dir".$tmpname))
{
// Get the name of the directory being archived
$arcname = substr($path, 0, -1);