Issue #11225 has been reported by Naohisa Goto.

----------------------------------------
Bug #11225: r50776 + r50780 + r50781 changes behavior on systems without HAVE_STRUCT_MSGHDR_MSG_CONTROL
https://bugs.ruby-lang.org/issues/11225

* Author: Naohisa Goto
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.0dev (2015-06-05) [sparc64-solaris2.10]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
On systems without HAVE_STRUCT_MSGHDR_MSG_CONTROL such as Solaris 10,
when passing 3 or more arguments to rsock_bsock_sendmsg and rsock_bsock_sendmsg_nonblock that internally call bsock_sendmsg_internal,

r50775 or before: NotImplementedError is raised as follows.

~~~
	rb_raise(rb_eNotImpError, "control message for sendmsg is unimplemented");
~~~

after r50776: ArgumentError is raised in rb_scan_args(argc, argv, "12", ...)

I think the behavior change is not intended.




-- 
https://bugs.ruby-lang.org/