AbstractOperatingSystem.st
changeset 7683 a2e65f15769d
parent 7681 7c63f0b47f0d
child 7699 9bf7adc6116d
--- a/AbstractOperatingSystem.st	Thu Oct 23 00:07:17 2003 +0200
+++ b/AbstractOperatingSystem.st	Thu Oct 23 15:20:25 2003 +0200
@@ -5299,18 +5299,16 @@
         "/ mhmh - what should we do then ?
         "/ For now, return true as if data was present,
         "/ and let the thread fall into the read.
-        "/ It will then (hopefully) be desceduled there and
+        "/ It will then (hopefully) be descheduled there and
         "/ effectively polling for input.
 
         ^ true
     ].
 
-    (self selectOnAnyReadable:(Array with:fd)
+    ^ (self selectOnAnyReadable:(Array with:fd)
                      writable:nil
                     exception:nil
                   withTimeOut:0) == fd
-        ifTrue:[^ true].
-    ^ false
 !
 
 readWriteCheck:fd
@@ -5559,7 +5557,7 @@
 !AbstractOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.108 2003-10-22 22:02:05 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.109 2003-10-23 13:20:25 stefan Exp $'
 ! !
 
 AbstractOperatingSystem initialize!