From: "U.Nakamura" Date: 2003-07-31T13:04:23+09:00 Subject: Re: Segfault with map operation on 1.8p5 Hello, In message "Re: Segfault with map operation on 1.8p5" on Jul.31,2003 12:52:54, wrote: | This problem is solved by following patch for ruby 1.8.0 p5. Hmmm, this? --- array.c 25 Jul 2003 05:36:46 -0000 1.128 +++ array.c 31 Jul 2003 04:03:48 -0000 @@ -1192,3 +1192,3 @@ rb_ary_collect(ary) { - long len, i; + long i; VALUE collect; @@ -1199,5 +1199,4 @@ rb_ary_collect(ary) - len = RARRAY(ary)->len; - collect = rb_ary_new2(len); - for (i=0; ilen; i++) { rb_ary_push(collect, rb_yield(RARRAY(ary)->ptr[i])); Regards, -- U.Nakamura