Yes and no. Now I remember why I canonicalised it. The file's need to be 
comparable. :( I'll fix it.

On Wednesday 02 April 2008 23:20, dbkr at freenetproject.org wrote:
> 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()) {
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/cvs/attachments/20080403/4fada33e/attachment.pgp>

Reply via email to