Commit 6faf47b4 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 300379: GenerateVersionTable's rename may fail silently - Patch by byron…

Bug 300379: GenerateVersionTable's rename may fail silently - Patch by byron jones (glob) <bugzilla@glob.com.au> r=LpSolit a=justdave
parent 9b192788
......@@ -310,7 +310,8 @@ sub GenerateVersionTable {
print $fh "1;\n";
close $fh;
rename $tmpname, "$datadir/versioncache" || die "Can't rename $tmpname to versioncache";
rename ($tmpname, "$datadir/versioncache")
|| die "Can't rename $tmpname to versioncache";
ChmodDataFile("$datadir/versioncache", 0666);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment