[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] primitiveFileSize fails on Stdio handles (#430)

Fabio Niephaus notifications at github.com
Mon Oct 14 09:02:38 UTC 2019


`FileStream stdout closed` returns `true` in a currently Squeak trunk image. The reason for this is that the `primitiveFileSize` fails. To be fair, it makes sense as `stdout` does not really have a size. Nonetheless, it does not make sense that Squeak thinks `stdout` is closed, especially when it really isn't. On SqueakJS, for example, the primitive returns `0` which lets `FileStream stdout closed` return `false`.

I'm not sure where to fix this, probably in the `FilePlugin` code of VMMaker? Could someone please take a look? Thanks!

See also: http://forum.world.st/FileStream-stdout-closed-td5105395.html

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191014/8e614555/attachment.html>


More information about the Vm-dev mailing list