[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix -textenc option parsing in unix vm (#182)

Nicolas Cellier notifications at github.com
Wed Jan 3 08:27:40 UTC 2018


The terminal null character of text encoding was not copied to the uppercase variant.
This is a bug, alloca does not set the allocated bytes to zero.

While at it, use VMOPTION macro where we handle vm option strings.
We may get rid of VMOPTION macro in the future, but this is another decision.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix -textenc option parsing in unix vm

-- File Changes --

    M platforms/unix/vm/sqUnixMain.c (6)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/182.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/182.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/182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180103/76c604ef/attachment.html>


More information about the Vm-dev mailing list