[#995] Mathn crashes the interpreter on PPC — Dave Thomas <dave@...>
The following code crashes the interpreter on my Powerbook:
4 messages
2003/05/01
[#1004] irb doesn't work, because tempfile doesn't work — Dave Thomas <dave@...>
Try
7 messages
2003/05/02
[#1005] Re: irb doesn't work, because tempfile doesn't work
— matz@... (Yukihiro Matsumoto)
2003/05/02
Hi,
[#1018] Re: ext/syck problems — why the lucky stiff <ruby-core@...>
U.Nakamura (usa@osb.att.ne.jp) wrote:
8 messages
2003/05/13
[#1037] ping.rb — Dave Thomas <dave@...>
On my Mac OSX,
15 messages
2003/05/14
[#1039] Re: ping.rb
— Ryan Davis <ryand@...>
2003/05/15
[#1040] Re: ping.rb
— Dave Thomas <dave@...>
2003/05/15
Ryan Davis wrote:
[#1042] Re: ping.rb
— nobu.nokada@...
2003/05/15
Hi,
[#1043] Re: ping.rb
— Dave Thomas <dave@...>
2003/05/15
nobu.nokada@softhome.net wrote:
[#1057] Fwd: ping.rb — "J.Herre" <jlst@...>
7 messages
2003/05/16
[#1066] YAML problem — Tanaka Akira <akr@...17n.org>
I found a problem with yaml.
12 messages
2003/05/22
[#1067] Re: YAML problem
— "NAKAMURA, Hiroshi" <nahi@...>
2003/05/22
Hi,
[#1068] Re: YAML problem
— why the lucky stiff <ruby-core@...>
2003/05/22
Concerning error from:
[#1069] Re: YAML problem
— Tanaka Akira <akr@...17n.org>
2003/05/22
In article <20030522064450.GA14175@rysa.inetz.com>,
[#1077] terminated object / invalid inspect_tbl — ts <decoux@...>
10 messages
2003/05/26
[#1078] Re: [1.8] terminated object / invalid inspect_tbl
— nobu.nokada@...
2003/05/26
Hi,
[#1079] Re: [1.8] terminated object / invalid inspect_tbl
— ts <decoux@...>
2003/05/26
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
[#1080] Re: [1.8] terminated object / invalid inspect_tbl
— nobu.nokada@...
2003/05/26
Hi,
[#1081] Re: [1.8] terminated object / invalid inspect_tbl
— ts <decoux@...>
2003/05/26
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
[#1085] Re: [1.8] terminated object / invalid inspect_tbl
— nobu.nokada@...
2003/05/26
Hi,
[#1082] Possible problem with mkmf under Darwin — Dave Thomas <dave@...>
I've been having fun getting readline support to work on OSX. My latest
7 messages
2003/05/26
[#1094] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — Dave Thomas <dave@...>
> * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;
12 messages
2003/05/29
[#1095] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c
— nobu.nokada@...
2003/05/29
Hi,
[#1097] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c
— Dave Thomas <dave@...>
2003/05/29
nobu.nokada@softhome.net wrote:
[#1101] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c
— nobu.nokada@...
2003/05/29
Hi,
[#1102] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c
— matz@... (Yukihiro Matsumoto)
2003/05/30
Hi,
Re: [1.8] terminated object / invalid inspect_tbl
From:
matz@... (Yukihiro Matsumoto)
Date:
2003-05-26 17:37:58 UTC
List:
ruby-core #1089
Hi,
In message "Re: [1.8] terminated object / invalid inspect_tbl"
on 03/05/27, nobu.nokada@softhome.net <nobu.nokada@softhome.net> writes:
|> Well, it work with hook (I must stop to write stupid thing :-)))
|
|Have you implemented method hook?
Yeah, I'd like to see the code.
|Anyway, this seems to work.
Here's my fix.
matz.
--- eval.c 26 May 2003 08:22:27 -0000 1.445
+++ eval.c 26 May 2003 17:36:52 -0000
@@ -97,3 +97,3 @@ VALUE rb_cBlock, rb_cProc;
static VALUE rb_cBinding;
-static VALUE block_invoke _((VALUE,VALUE,VALUE));
+static VALUE block_invoke _((VALUE,VALUE,VALUE,VALUE));
static VALUE block_new _((void));
@@ -2249,3 +2249,3 @@ call_trace_func(event, node, self, id, k
klass),
- Qundef);
+ Qundef, 0);
}
@@ -4046,3 +4046,3 @@ rb_yield_0(val, self, klass, pcall, aval
}
- ruby_class = klass?klass:block->klass;
+ ruby_class = klass ? klass : block->klass;
if (!klass) self = block->self;
@@ -4887,3 +4887,3 @@ rb_call0(klass, recv, id, oid, argc, arg
case NODE_BMETHOD:
- result = block_invoke(body->nd_cval, rb_ary_new4(argc, argv), recv);
+ result = block_invoke(body->nd_cval, rb_ary_new4(argc, argv), recv, klass);
break;
@@ -6366,3 +6366,3 @@ call_end_proc(data)
ruby_frame->last_class = 0;
- block_invoke(data, rb_ary_new2(0), Qundef);
+ block_invoke(data, rb_ary_new2(0), Qundef, 0);
POP_FRAME();
@@ -6880,5 +6880,5 @@ block_orphan(data)
static VALUE
-block_invoke(block, args, self)
+block_invoke(block, args, self, klass)
VALUE block, args; /* OK */
- VALUE self;
+ VALUE self, klass;
{
@@ -6910,3 +6910,4 @@ block_invoke(block, args, self)
_block = *data;
- _block.frame.self = self;
+ if (self != Qundef) _block.frame.self = self;
+ if (klass) _block.frame.last_class = klass;
ruby_block = &_block;
@@ -6968,3 +6969,3 @@ block_call(block, args)
{
- return block_invoke(block, args, Qundef);
+ return block_invoke(block, args, Qundef, 0);
}