From: dblack@... Date: 2006-10-07T11:12:48+09:00 Subject: Re: argument passing bug On Sat, 7 Oct 2006, Mathieu Bouchard wrote: > ruby -e 'def foo(*x) x end; puts foo(*[42]*666).length' > #=3D> 156 > > the argument count behaves almost mod 255. (why?) It seems OK in 1.8.5: $ ruby -ve 'def foo(*x) x end; puts foo(*[42]*666).length' ruby 1.8.5 (2006-08-25) [i686-linux] 666 David -- David A. Black | dblack@wobblini.net Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org