فهرست منبع

Fix build

svn path=/trunk/mcs/; revision=145650
Miguel de Icaza 16 سال پیش
والد
کامیت
736cccc052
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      mcs/class/corlib/System.IO/FileStream.cs

+ 4 - 2
mcs/class/corlib/System.IO/FileStream.cs

@@ -839,8 +839,10 @@ namespace System.IO
 			FlushBuffer ();
 
 			// This does the fsync
-			if (flushToDisk)
-				MonoIO.Flush (handle);
+			if (flushToDisk){
+				MonoIOError error;
+				MonoIO.Flush (handle, out error);
+			}
 		}
 #endif