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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

David T Lewis
 

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, view it on GitHub, or unsubscribe.

<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>
Reply | Threaded
Open this post in threaded view
|

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

David T Lewis
 

Got to this today.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430#issuecomment-712494053", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430#issuecomment-712494053", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

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

David T Lewis
In reply to this post by David T Lewis
 

Closed #430.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430#event-3895897717", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/430#event-3895897717", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>