Author: nextgens
Date: 2007-11-22 16:23:14 +0000 (Thu, 22 Nov 2007)
New Revision: 15925

Modified:
   trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java
Log:
Fix #1886: absolute path prepended to persistent temp location

Modified: trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java
===================================================================
--- trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java       
2007-11-22 15:56:20 UTC (rev 15924)
+++ trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java       
2007-11-22 16:23:14 UTC (rev 15925)
@@ -42,7 +42,7 @@

        public PersistentTempBucketFactory(File dir, String prefix, 
RandomSource rand) throws IOException {
                boolean logMINOR = Logger.shouldLog(Logger.MINOR, this);
-               this.dir = dir.getAbsoluteFile();
+               this.dir = dir;
                this.rand = rand;
                this.fg = new FilenameGenerator(rand, false, dir, prefix);
                if(!dir.exists()) {


Reply via email to