[#290] — Florian Frank <flori@...>
Hi all,
5 messages
2002/08/03
[#297] GC longjmp macros — Michal Rokos <m.rokos@...>
Hi,
5 messages
2002/08/05
[#308] Q: OSSL in std. distr? — Michal Rokos <m.rokos@...>
Hi,
4 messages
2002/08/08
[#326] Implications of a #force_free method in Object? — Matthew Bloch <mattbee@...>
Hello;
8 messages
2002/08/19
[#328] Int vs Long — Michal Rokos <m.rokos@...>
Hi,
7 messages
2002/08/21
[#337] Int vs Long (2nd part) — Michal Rokos <m.rokos@...>
Hi,
7 messages
2002/08/22
[#340] Int vs Long #3 — Michal Rokos <m.rokos@...>
Hi,
9 messages
2002/08/22
[#344] Re: [Cleanup] Int vs Long #3
— nobu.nokada@...
2002/08/22
Hi,
[#348] Re: [Cleanup] Int vs Long #3
— Michal Rokos <m.rokos@...>
2002/08/23
Hello,
[#353] File (struct stat handling) — Michal Rokos <m.rokos@...>
Hello,
6 messages
2002/08/23
[#358] node.h for eval.c — Michal Rokos <m.rokos@...>
Hi,
5 messages
2002/08/23
[#372] rb_class_path — Michal Rokos <m.rokos@...>
Hello,
7 messages
2002/08/27
[#382] Port match to new dup, clone framework — Michal Rokos <m.rokos@...>
Hi,
5 messages
2002/08/28
[#393] in dln.c — Michal Rokos <m.rokos@...>
Hi,
14 messages
2002/08/30
[#398] Re: [MemLeak] in dln.c
— nobu.nokada@...
2002/08/31
Hi,
[#403] Re: [MemLeak] in dln.c
— Michal Rokos <m.rokos@...>
2002/09/02
Hello,
Re: [Cleanup] Int vs Long (2nd part)
From:
Michal Rokos <m.rokos@...>
Date:
2002-08-22 15:57:43 UTC
List:
ruby-core #339
Hi,
thanks for review.
On Fri, Aug 23, 2002 at 12:01:13AM +0900, nobu.nokada@softhome.net wrote:
> > @@ -1464,12 +1463,12 @@
> > }
> > len *= RARRAY(ary)->len;
> >
> > - ary2 = ary_new(rb_obj_class(ary), len);
> > - RARRAY(ary2)->len = len;
> > + ary2 = rb_ary_new2(len);
>
> This changes semantics.
OK, I will drop this one.
> rb_ary_new() doesn't take any arguments. I guess you intended
> rb_ary_new2().
Oops, I'll fix it.
>
> > @@ -1690,14 +1685,16 @@
> > rb_ary_uniq_bang(ary)
> > VALUE ary;
> > {
> > - VALUE hash = ary_make_hash(ary, 0);
> > + VALUE hash;
> > VALUE *p, *q, *end;
> >
> > + rb_ary_modify(ary);
> > +
> > + hash = ary_make_hash(ary, 0);
> > +
>
> Which should be done first?
I hope this one (not the current) is the right one.
Michal
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos Czech Technical University, Prague
E-mail:m.rokos@sh.cvut.cz ICQ:36118339 Jabber:majkl@jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-