[freenet-cvs] r18923 - trunk/freenet/src/freenet/support/io

dbkr at freenetproject.org dbkr at freenetproject.org
Wed Apr 2 22:20:54 UTC 2008


Author: dbkr
Date: 2008-04-02 22:20:54 +0000 (Wed, 02 Apr 2008)
New Revision: 18923

Modified:
   trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java
Log:
This doesn't need to be resolved to an absolute directory: doing so means we end up writing an absolute dir in the config file.


Modified: trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java
===================================================================
--- trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java	2008-04-02 22:01:06 UTC (rev 18922)
+++ trunk/freenet/src/freenet/support/io/PersistentTempBucketFactory.java	2008-04-02 22:20:54 UTC (rev 18923)
@@ -42,7 +42,7 @@
 
 	public PersistentTempBucketFactory(File dir, String prefix, RandomSource rand) throws IOException {
 		boolean logMINOR = Logger.shouldLog(Logger.MINOR, this);
-		this.dir = FileUtil.getCanonicalFile(dir);
+		this.dir = dir;
 		this.rand = rand;
 		this.fg = new FilenameGenerator(rand, false, dir, prefix);
 		if(!dir.exists()) {




More information about the cvs mailing list