2002-09-21 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Sat, 21 Sep 2002 21:27:59 +0000 (21:27 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 21 Sep 2002 21:27:59 +0000 (21:27 -0000)
* FileStream.cs: Do not call FSync on the file.

svn path=/trunk/mcs/; revision=7710

mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/FileStream.cs

index b3d33870ed23ef0140032c962b3744bf471a542f..8991ac9d67af63305140b82702e9ba380756d840 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-21  Miguel de Icaza  <miguel@ximian.com>
+
+       * FileStream.cs: Do not call FSync on the file.
+
 2002-09-16  Miguel de Icaza  <miguel@ximian.com>
 
        * TextWriter.cs (Null): The Null field should be an instance of a
index 219942cbeddb29c6c2615180476ab48aa3acd528..5752e4780369c2daaa5947bb61a0ad2993cea661 100644 (file)
@@ -233,7 +233,12 @@ namespace System.IO
                public override void Flush ()\r
                {\r
                        FlushBuffer ();\r
-                       MonoIO.Flush (handle);\r
+\r
+                       //\r
+                       // The flushing is not actually required, in the mono runtime we were\r
+                       // mapping flush to `fsync' which is not the same.\r
+                       //\r
+                       //MonoIO.Flush (handle);\r
                }\r
 \r
                public override void Close ()\r