[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] primitiveFileStdioHandles() fails to return nil if stdio file is not available (#274)

akgrant43 notifications at github.com
Sat Aug 4 13:43:01 UTC 2018

According to the comment for primitiveFileStdioHandles():

Answer an Array of file handles for standard in, standard out and standard
error, with nil in entries that are unvailable, e.g. because the platform
does not provide standard error, etc.

However, on Windows in practice an array of sqFile entries with null handles is returned.  The image is unable to distinguish between valid and invalid entries since sqFile is specific to the VM.

Modify the Windows VM so that nil is returned if stdio is unavailable.  Check linux behaviour.

PR will be provided (eventually).


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180804/5f30ec81/attachment.html>

More information about the Vm-dev mailing list