Doug Cutting wrote:
I think the fix is much simpler. This is a bug in FSDirectory. Directory.createOutput() should always create a new empty file, and FSDirectory's implementation does not ensure this. It should try to delete the file before opening it and/or call RandomAccessFile.setLength(0).

I've attached a patch.

I have now committed this patch.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to