You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/08/19 18:16:27 UTC
svn commit: r805864 -
/incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
Author: digy
Date: Wed Aug 19 16:16:26 2009
New Revision: 805864
URL: http://svn.apache.org/viewvc?rev=805864&view=rev
Log:
adding a simple FileStream.Flush for Java's file.getFD().sync().
Modified:
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Store/FSDirectory.cs?rev=805864&r1=805863&r2=805864&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs Wed Aug 19 16:16:26 2009
@@ -658,7 +658,7 @@
// where is FSDirectory.Sync(string name) called from - if this isn't a new feature but rather a refactor, maybe
// i can snip the old code from where it was re-factored...
- //SupportClass.FileStream.Sync(file);
+ SupportClass.FileStream.Sync(file);
success = true;
}
finally