From: Akinori MUSHA Date: 2007-03-16T21:53:27+09:00 Subject: [ruby-dev:30609] Re: rb_ary2cary in dl.c has a bug --pgp-sign-Multipart_Fri_Mar_16_21:53:27_2007-1 Content-Type: text/plain; charset=ISO-2022-JP At Tue, 13 Mar 2007 22:03:18 +0900, sheepman wrote: > こんばんは、sheepman です。 > > ext/dl/dl.c にバグがあります。 > > $ svn diff dl.c > Index: dl.c > =================================================================== > --- dl.c (revision 12047) > +++ dl.c (working copy) > @@ -459,7 +459,7 @@ > VALUE val0; > > val0 = rb_check_array_type(v); > - if(NIL_P(TYPE(val0))) { > + if(NIL_P(val0)) { > rb_raise(rb_eDLTypeError, "an array is expected."); > } > v = val0;  ruby_1_8 に入れました。 卜部さん:  ruby_1_8_? にもお願いします。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Different eyes see different things, Different hearts beat on different strings -- But there are times for you and me when all such things agree" --pgp-sign-Multipart_Fri_Mar_16_21:53:27_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBF+pNHkgvvx5/Z4e4RAoT4AKCedRiBMbxaVvJO7Ktl3oaDfclBfwCfSnRq vjrQwEQBOKZ4WEoUfnNc3YY= =cZzk -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_Mar_16_21:53:27_2007-1--