class.c (rb_scan_args): Allow specifying the number of trailing mandatory arguments right after the number of optional arguments only if the number of leading mandatory arguments is not omitted.
ext/socket/tcpserver.c (tcp_svr_init): Make use of it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
class.c (rb_scan_args): Allow specifying the number of trailing
mandatory arguments right after the number of optional arguments
only if the number of leading mandatory arguments is not omitted.
ext/socket/tcpserver.c (tcp_svr_init): Make use of it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e