On Thu, May 03, 2001 at 11:20:20AM -0400, Mark J. Roberts wrote: > On 3 May 2001, Mr.Bad wrote: > > > Hmm. Every time I've ever looked at a data store file, it's had > > absolute paths in it, like this: > > Mine have relative paths: > > Key=c03f536e6d733ae89d1d157747bcf6b5d5cb30440e0301 > DataProperties=.freenet/13243/t1456513.inf > Data=.freenet/13243/t1456513 > HasEntity=true > StandardDataStore
The deal seems to be that if you have a relative path to the DataStore dir, you will get relative pathnames, while if you have an absolute pathname in the store dir, you will get absolute pathnames in the file. This is a bug, since we are using getString() to get the FileName, which is not the correct way to do it, and not particularly well defined (getAbsolutePath() or getCanocialPath() are the correct methods). Of course, we actually don't want either. Mr Bad's filenames are absolute,
