Author: toad
Date: 2009-01-27 21:54:33 +0000 (Tue, 27 Jan 2009)
New Revision: 25338
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
Log:
Hmmmm, maybe fix startup
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
===================================================================
---
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
2009-01-27 21:04:17 UTC (rev 25337)
+++
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
2009-01-27 21:54:33 UTC (rev 25338)
@@ -71,8 +71,8 @@
void onInit(ObjectContainer container, DBJobRunner jobRunner2, Random
fastWeakRandom, File storageFile2, long blockSize2, Ticker ticker) throws
IOException {
container.activate(storageFile, 100);
- File oldFile = FileUtil.getCanonicalFile(storageFile);
- File newFile = FileUtil.getCanonicalFile(storageFile2);
+ File oldFile = FileUtil.getCanonicalFile(new
File(storageFile.getPath())); // db4o argh
+ File newFile = FileUtil.getCanonicalFile(new
File(storageFile2.getPath()));
if(!(oldFile.equals(newFile) ||
(File.separatorChar == '\\' ?
oldFile.getPath().toLowerCase().equals(newFile.getPath().toLowerCase()) :
oldFile.getPath().equals(newFile.getPath())))) {
if(blockSize != blockSize2)
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs