[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] FilePlugin>>primitiveFileAtEnd for non-regular files (#232)

akgrant43 notifications at github.com
Sun Apr 1 15:38:22 UTC 2018


> For example in Squeak, we can rewrite atEnd like this:
> ...

I think this will return incorrect results.  No-more-data is not the same is end-of-file.  No-more-data just says that there isn't any data available now, but that may change.

Don't forget we are talking about non-regular files, e.g. /dev/urandom, that isn't a real stream, it is calculated and may be waiting on external resources.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/232#issuecomment-377795132
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180401/1384e552/attachment-0001.html>


More information about the Vm-dev mailing list