Author: j16sdiz
Date: 2009-03-23 02:54:34 +0000 (Mon, 23 Mar 2009)
New Revision: 26139
Modified:
trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
Sync config file after write (bug 2923)
Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2009-03-22 21:54:12 UTC (rev 26138)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2009-03-23 02:54:34 UTC (rev 26139)
@@ -900,6 +900,7 @@
raf.writeInt(0);
raf.writeLong(0);
+ raf.getFD().sync();
raf.close();
FileUtil.renameTo(tempConfig, configFile);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs