Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for bad fix with random access files (no performace enhancement)

orbiterce7257483dfa
diff --git a/source/de/anomic/kelondro/kelondroFileRA.java b/source/de/anomic/kelondro/kelondroFileRA.java
index 3b4b569cc..98c4e4722 100644
--- a/source/de/anomic/kelondro/kelondroFileRA.java
+++ b/source/de/anomic/kelondro/kelondroFileRA.java
@@ -57,7 +57,7 @@ public final class kelondroFileRA extends kelondroAbstractRA implements kelondro
public kelondroFileRA(File file) throws IOException, FileNotFoundException {
this.name = file.getName();
- RAFile = new RandomAccessFile(file, "rwd");
+ RAFile = new RandomAccessFile(file, "rw");
}
public long length() throws IOException {