On Thursday 03 April 2008 13:03, Matthew Toseland wrote:
> Yes and no. Now I remember why I canonicalised it. The file's need to be 
> comparable. :( I'll fix it.

Hmmm, in fact, we canonicalise whenever we access 
PersistentTempBucketFactory.originalFiles ... so this can't have caused 
#2219 ??
> 
> On Wednesday 02 April 2008 23:20, [EMAIL PROTECTED] 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
> > [EMAIL PROTECTED]
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> > 
> > 
> 

Attachment: pgpyFVp11SRli.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to