AbstractOperatingSystem.st
changeset 17150 c31831f471e8
parent 17147 b4cec8794fb8
child 17170 280139d863b5
--- a/AbstractOperatingSystem.st	Thu Nov 27 18:08:21 2014 +0100
+++ b/AbstractOperatingSystem.st	Thu Nov 27 18:08:35 2014 +0100
@@ -2483,6 +2483,13 @@
     "sync the filesystems - redefined in subclasses"
 !
 
+syncFileSystem:handle
+    "sync the filesystem where the file represented by handle resides"
+
+    "default is to do a global sync"
+    self sync.
+!
+
 truncateFile:aPathName to:newSize
     "change a files size return true on success, false on failure.
      This may not be supported on all architectures.
@@ -7637,11 +7644,11 @@
 !AbstractOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.284 2014-11-27 16:58:31 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.285 2014-11-27 17:08:35 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.284 2014-11-27 16:58:31 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.285 2014-11-27 17:08:35 stefan Exp $'
 ! !