From: shugo@... (MAEDA Shugo) Date: 1998-12-17T19:49:13+09:00 Subject: [ruby-dev:3857] [patch] enum.c --Multipart_Thu_Dec_17_19:48:52_1998-1 Content-Type: text/plain; charset=ISO-2022-JP 前田です。 # やはりパッチを送るためのMLが別にあった方がよくないですか? # デフォルトの言語は英語かな(^^; --Multipart_Thu_Dec_17_19:48:52_1998-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="enum.c.diff" Content-Transfer-Encoding: 7bit --- enum.c~ Wed Dec 16 16:30:29 1998 +++ enum.c Thu Dec 17 19:40:07 1998 @@ -343,10 +343,10 @@ VALUE val; int *indexp; { -#if 0 +#if 1 rb_yield(rb_assoc_new(val, INT2FIX(*indexp))); #else - rb_yield(rb_ary_concat(val, INT2FIX(*indexp))); + rb_yield(rb_ary_concat(rb_Array(val), INT2FIX(*indexp))); #endif (*indexp)++; return Qnil; --Multipart_Thu_Dec_17_19:48:52_1998-1 Content-Type: text/plain; charset=ISO-2022-JP -- 前田 修吾 (mailto:shugo@aianet.ne.jp) --Multipart_Thu_Dec_17_19:48:52_1998-1--