On 5 May 2012 00:21, Sean P. DeNigris <
sean@clipperadams.com> wrote:
>
> Sean P. DeNigris wrote
>>
>> PipeableOSProcess>>#upToEnd eventually calls
>> AttachableFileStream>>#upToEnd, which tries to perform a buffered read by
>> "self nextInto: 1000" (which eventually calls primitiveFileRead which
>> calls sqFileReadIntoAt which calls fread with count arg of 1000).
>>
>
> After further investigation, it seems to me that blocking #upToEnd is
> functionally the same as #upToEndOfFile, because its test to stop reading
> data is StandardFileStream>>atEnd, which calls feof(). Therefore, if there
> is no EOF, it will keep reading until the pipe is out of data, and then hang
> in fread on the following iteration.
>
imo