--- a/FileStream.st Wed Feb 26 01:21:24 2020 +0100
+++ b/FileStream.st Wed Feb 26 01:24:19 2020 +0100
@@ -923,7 +923,7 @@
outStream isExternalStream ifTrue:[
"sendfile() in Linux does not support any combination of file/pipe/socket fds.
- #copyFromFd:toFd:startIndex:count: is curently not available in windows."
+ #copyFromFd:toFd:startIndex:count: is currently not available in windows."
pos := self position.
numberOfBytesOrNil isNil ifTrue:[
@@ -938,9 +938,7 @@
count:n.
nWritten > 0 ifTrue:[
self position:pos+nWritten.
- ].
- nWritten = n ifTrue:[
- ^ self
+ ^ n
].
].