[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 0523bf: Unix socket plugin:

Eliot Miranda noreply at github.com
Sat Oct 10 20:52:24 UTC 2020


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 0523bff5d630ab6d221700a44a4fffee6bb6405b
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0523bff5d630ab6d221700a44a4fffee6bb6405b
  Author: Eliot Miranda <eliot.miranda at gmail.com>
  Date:   2020-10-10 (Sat, 10 Oct 2020)

  Changed paths:
    M platforms/unix/plugins/SocketPlugin/sqUnixSocket.c

  Log Message:
  -----------
  Unix socket plugin:
Fix two failures and one error for socket tests on macOS.  sendto(2) may fail
with EISCONN if the socket is already connected and a perr address is supplied.
So if sendto errors with EISCONN retry using send.
Use poll(2) instead of select for determining writability of a single socket.




More information about the Vm-dev mailing list