FileStream.st
changeset 17151 2b1e0d36cd6f
parent 17144 5aa46b24fa21
child 17309 cbe100c27478
--- a/FileStream.st	Thu Nov 27 18:08:35 2014 +0100
+++ b/FileStream.st	Thu Nov 27 18:09:06 2014 +0100
@@ -909,6 +909,12 @@
     "
 !
 
+syncFileSystem
+    "sync the filesystem containing this FileStream"
+
+    OperatingSystem syncFileSystem:handle.
+!
+
 truncateTo:newSize
     "truncate the underlying OS file to newSize.
      Warning: this may not be implemented on all platforms."
@@ -2077,11 +2083,11 @@
 !FileStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.177 2014-11-27 16:50:12 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.178 2014-11-27 17:09:06 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.177 2014-11-27 16:50:12 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/FileStream.st,v 1.178 2014-11-27 17:09:06 stefan Exp $'
 ! !