On Monday 11 June 2001 09:06, you wrote:
> From: "Sebastian Sp?th" <Sebastian at SSpaeth.de>
>
> > They are explicitely deleted. But they seem to be locked (although they
> > shouldn't be) by the the OS, so that any delete command fails.
>
> Maybe they haven't been close()d? (Forgive me if this is a stupid and
> unnecessary hint...)
>
> -Stefan

<pause>
  gj dons flame retardant undies.
</pause>

A while back I had the misfortune to be stuck on a Windows machine.  I looked 
into this problem briefly and pretty much convinced myself that the problem
was that file handles are not being properly closed in the Freenet.client 
code.

There were several places where input and output streams are opened
from via FileBucket.getOutputStream() and FileBucket.getInputStream() and 
never .close()'d.

You can get away with this on Linux, but Win32 won't let you delete a file
that has open file handles.  Hence the "JVM bug" on Windows.

c.e. 
The code seems to have changed around a bit since the last time I looked.
Maybe this problem was fixed?

-- gj




-- 
Web page inside Freenet:
freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to