<p><code>FileStream stdout closed</code> returns <code>true</code> in a currently Squeak trunk image. The reason for this is that the <code>primitiveFileSize</code> fails. To be fair, it makes sense as <code>stdout</code> does not really have a size. Nonetheless, it does not make sense that Squeak thinks <code>stdout</code> is closed, especially when it really isn't. On SqueakJS, for example, the primitive returns <code>0</code> which lets <code>FileStream stdout closed</code> return <code>false</code>.</p>
<p>I'm not sure where to fix this, probably in the <code>FilePlugin</code> code of VMMaker? Could someone please take a look? Thanks!</p>
<p>See also: <a href="http://forum.world.st/FileStream-stdout-closed-td5105395.html" rel="nofollow">http://forum.world.st/FileStream-stdout-closed-td5105395.html</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430?email_source=notifications&email_token=AIJPEW4PYHXYR2A7LZ2GXDLQOQYS5A5CNFSM4JAMMOG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRQ7WOQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEWY6VZLIYD7JVHFNK2TQOQYS5ANCNFSM4JAMMOGQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEWYQVQAOZP2EIMS6KYLQOQYS5A5CNFSM4JAMMOG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRQ7WOQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430?email_source=notifications\u0026email_token=AIJPEW4PYHXYR2A7LZ2GXDLQOQYS5A5CNFSM4JAMMOG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRQ7WOQ",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430?email_source=notifications\u0026email_token=AIJPEW4PYHXYR2A7LZ2GXDLQOQYS5A5CNFSM4JAMMOG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRQ7WOQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>