[squeak-dev] ExternalPipe atEnd test

K K Subbu kksubbu.ml at gmail.com
Thu Apr 12 07:03:50 UTC 2018


Hi,

I stumbled upon the following method in OSProcess-Base package:

ExternalPipe#atEnd

  ^writer closed and: [self peek == nil]

Shouldn't the test be reversed? In a pipe, the reader's peek buffer 
could be holding an object while the writer has closed its end.

Regards .. Subbu


More information about the Squeak-dev mailing list