<div dir="ltr"><div dir="ltr">Hi Richo,<div><br></div><div>   see commit <span style="color:rgb(0,0,0)">128b467faf11cc491671e92b578edd</span><font color="#000000"><span style="caret-color: rgb(0, 0, 0);">0453827aab on opensmalltalk-vm.  If possible can you (along with a friend with a Mac if you don't have one) take a look at the code on MacOS X and update sqUnixSerial.c </span></font><font color="#000000">appropriately?  I'd love to play around with this on MacOS X but you know what you're doing so you could lead the way.</font></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 29, 2018 at 5:25 PM Ricardo Moran <<a href="mailto:richi.moran@gmail.com" target="_blank">richi.moran@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi,<br></div><div><br></div><div>I think I found a bug with the named serial ports in windows.</div><div>I can open a named port without problem the first time but if I close it and try to open it again it fails until I restart the image. This doesn't happen with numeric ports. I could reproduce this bug in both Squeak5.2 and Pharo6.1 (both using windows 8.1). </div><div><br></div><div>I think the problem is that SerialPort>>#primClosePortByName: calls the "primitiveSerialPortCloseByName" but I couldn't find this primitive anywhere in the SerialPlugin source (<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/src/plugins/SerialPlugin/SerialPlugin.c" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/src/plugins/SerialPlugin/SerialPlugin.c</a>). So I'm guessing that the port is never properly closed. </div><div><br></div><div>I added the missing primitive (find attached) and recompiled the vm, and now it seems to work. So my question is: how can I contribute this small fix? Should I commit to the VM Maker Inbox repository? </div><div><br></div><div>Thanks,</div><div>Richo</div></div></div>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_208472130528164257gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>