[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 274: Update primitiveFileStdioHandles error handling. (#278)

akgrant43 notifications at github.com
Mon Aug 13 19:53:38 UTC 2018


Previously validMask = -1 was considered an error.  Now validMask < 0 is
considered an error and the value is returned to the image with
primitiveFailForOSError().

This is more robust against word length in the VM and provides a general
mechanism for the plugin to provide error information back to the image.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/278

-- Commit Summary --

  * 274: Update primitiveFileStdioHandles error handling.

-- File Changes --

    M platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c (3)
    M platforms/RiscOS/plugins/FilePlugin/sqFilePluginBasicPrims.c (3)
    M platforms/win32/plugins/FilePlugin/sqWin32FilePrims.c (3)
    M src/plugins/FilePlugin/FilePlugin.c (22)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/278.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/278.diff

-- 
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/pull/278
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180813/bd943edc/attachment.html>


More information about the Vm-dev mailing list