diff -r 34ed3b6c7307 -r 219a5a47e8b1 NonPositionableExternalStream.st --- a/NonPositionableExternalStream.st Sat Aug 13 06:52:18 2016 +0200 +++ b/NonPositionableExternalStream.st Tue Aug 23 09:54:28 2016 +0100 @@ -221,13 +221,13 @@ ! writeError:errorNumber - "report an error, that some write error occured. + "report an error, that some write error occurred. Redefined to care for writeErrors on stdout and stderr, which happens under linux, if the console is closed while I am running. In this case, we ignore the error." ((self == Stderr) or:[self == Stdout]) ifTrue:[ - ^ self + ^ self ]. super writeError:errorNumber ! ! @@ -462,7 +462,7 @@ "setup for writing to stderr" - mode := #writeonly. "since stderr may be redirected to a pipe, reading is forbidden" + mode := #writeonly. "since stderr may be redirected to a pipe, reading is forbidden" buffered := false. position := 0. "only writing - can keep track of position" handle := self handleForStderr. @@ -607,7 +607,7 @@ binary := wasBinary. ^ answerStream contents. ]. - char notNil ifTrue:[ + char notNil ifTrue:[ answerStream nextPut:char. ]. ]. @@ -656,7 +656,7 @@ upTo:anObject into:aStream "read a collection of all objects up-to anObject and append these - elements to aStream, but excluding anObject. + elements to aStream, but excluding anObject. The next read operation will return the element after anObject. (i.e. anObject is considered a separator, which is skipped) Similar to #through:, but the matching object is not included in the returned collection.