[ruby-cvs:64520] normal:r57354 (trunk): basicsocket (rsock_bsock_send): do not truncate return value

normal at ruby-lang.org normal at ruby-lang.org
Tue Jan 17 06:42:05 JST 2017


normal	2017-01-17 06:42:05 +0900 (Tue, 17 Jan 2017)

  New Revision: 57354

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57354

  Log:
    basicsocket (rsock_bsock_send): do not truncate return value
    
    send(2) and sendto(2) syscalls return `ssize_t', use the
    proper type and macro for converting to a Numeric VALUE.

  Modified files:
    trunk/ext/socket/basicsocket.c


More information about the ruby-cvs mailing list