[ruby-cvs:60722] nobu:r53561 (trunk): option.c: single byte boolean

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Jan 17 15:31:36 JST 2016


nobu	2016-01-17 15:31:36 +0900 (Sun, 17 Jan 2016)

  New Revision: 53561

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

  Log:
    option.c: single byte boolean
    
    * ext/socket/option.c (sockopt_bool): relax boolean size to be one
      too not only sizeof(int).  Winsock getsockopt() returns a single
      byte as a boolean socket option.  [ruby-core:72730] [Bug #11958]

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/option.c
    trunk/test/socket/test_sockopt.rb


More information about the ruby-cvs mailing list