[#3907] Obtaining mode information on an IO object — Jos Backus <jos@...>

The attached patch implements IO#mode. This method returns the mode the IO

17 messages 2004/12/06
[#3909] Re: [patch] Obtaining mode information on an IO object — nobu.nokada@... 2004/12/07

Hi,

[#3910] Re: [patch] Obtaining mode information on an IO object — Jos Backus <jos@...> 2004/12/07

On Tue, Dec 07, 2004 at 09:25:13AM +0900, nobu.nokada@softhome.net wrote:

[#3925] Re: [patch] Obtaining mode information on an IO object — James Britt <ruby@...> 2004/12/09

Jos Backus wrote:

[#4009] cgi.rb -- more GET/POST stuff — mde@...26.com

First of all, I think it would be great, as Eustaquio suggests, to

17 messages 2004/12/23
[#4016] Re: [PATCH] cgi.rb -- more GET/POST stuff — Francis Hwang <sera@...> 2004/12/24

GETs and POSTs are defined to be fairly different actions. I'd read

[#4027] Allowing custom number literal suffixes? — Florian Gro<florgro@...>

Moin!

35 messages 2004/12/27
[#4070] Re: Allowing custom number literal suffixes? — nobu.nokada@... 2005/01/02

Hi,

[#4072] Re: Allowing custom number literal suffixes? — Mathieu Bouchard <matju@...> 2005/01/02

[#4079] Re: Allowing custom number literal suffixes? — Florian Gro<florgro@...> 2005/01/03

Mathieu Bouchard wrote:

[#4081] Re: Allowing custom number literal suffixes? — Mathieu Bouchard <matju@...> 2005/01/03

[#4082] Re: Allowing custom number literal suffixes? — Florian Gro<florgro@...> 2005/01/03

Mathieu Bouchard wrote:

[#4084] Re: Allowing custom number literal suffixes? — Brent Roman <brent@...> 2005/01/04

I'm not sure I would advocate making Ruby's grammar even more

[#4086] Re: Allowing custom number literal suffixes? — Mathieu Bouchard <matju@...> 2005/01/04

[#4033] Garbage collection trouble — Christian Neukirchen <chneukirchen@...>

Hello,

13 messages 2004/12/27

Re: [1.9, 1.8] super

From: Shugo Maeda <shugo@...>
Date: 2004-12-03 18:31:36 UTC
List: ruby-core #3879
Hi,

Yukihiro Matsumoto wrote:
> | 3) 1.8 has the same problem than 1.9 (_block.frame.argc and
> |    _block.frame.argv not updated in proc_invoke)
> 
> Thanks.  Will be fixed.

It seems that this fix broke something.

$ gdb --args ruby-1_8 sample/test.rb
(gdb)run
...
Program received signal SIGSEGV, Segmentation fault.
0xb7f3ead7 in proc_invoke (proc=3084300296, args=3, self=6, klass=0)
     at eval.c:8166
8166        _block.frame.argc = RARRAY(args)->len;
(gdb) bt
#0  0xb7f3ead7 in proc_invoke (proc=3084300296, args=3, self=6, klass=0)
     at eval.c:8166
#1  0xb7f3ee37 in proc_call (proc=3221221856, args=3221221856) at 
eval.c:8250
#2  0xb7f464db in call_cfunc (func=0xb7f3ee10 <proc_call>, recv=3084300296,
     len=-1073745440, argc=0, argv=0xbfffb8b8) at eval.c:5378
#3  0xb7f38e85 in rb_call0 (klass=3084314036, recv=3084300296, id=5217,
     oid=3221221856, argc=1, argv=0xbfffb8b8, body=0xb7d6e500, nosuper=0)
     at eval.c:5516
#4  0xb7f3973b in rb_call (klass=3084314036, recv=3084300296, mid=5217,
     argc=1, argv=0xbfffb8b8, scope=0) at eval.c:5737
#5  0xb7f341ba in rb_eval (self=3084301376, n=0xbffff1e0) at ruby.h:631
#6  0xb7f37149 in rb_yield_0 (val=3084299696, self=3084301376, klass=0,
     flags=0, avalue=0) at eval.c:4720
#7  0xb7f37799 in rb_yield (val=3221221856) at eval.c:4802
#8  0xb7f1d867 in rb_ary_each (ary=3084301756) at array.c:1131
#9  0xb7f464fe in call_cfunc (func=0xb7f1d830 <rb_ary_each>, 
recv=3084301756,
     len=-1073745440, argc=0, argv=0x0) at eval.c:5384
#10 0xb7f38e85 in rb_call0 (klass=3084346736, recv=3084301756, id=3833,
     oid=3221221856, argc=0, argv=0x0, body=0xb7d7614c, nosuper=0)
     at eval.c:5516
#11 0xb7f3973b in rb_call (klass=3084346736, recv=3084301756, mid=3833,
     argc=0, argv=0x0, scope=0) at eval.c:5737
#12 0xb7f341ba in rb_eval (self=3084301376, n=0xbffff1e0) at ruby.h:631
#13 0xb7f334f0 in rb_eval (self=3084301376, n=0xbffff1e0) at eval.c:2943
#14 0xb7f39179 in rb_call0 (klass=3084308896, recv=3084301376, id=10633,
     oid=3221221856, argc=0, argv=0x0, body=0xb7d2c6b0, nosuper=0)
     at eval.c:5644
#15 0xb7f3973b in rb_call (klass=3084308896, recv=3084301376, mid=10633,
     argc=0, argv=0x0, scope=0) at eval.c:5737
#16 0xb7f341ba in rb_eval (self=3084372416, n=0xbffff1e0) at ruby.h:631
#17 0xb7f334f0 in rb_eval (self=3084372416, n=0xbffff1e0) at eval.c:2943
#18 0xb7f3030c in ruby_exec_internal () at eval.c:1467
#19 0xb7f30364 in ruby_exec () at eval.c:1487
#20 0xb7f303a1 in ruby_run () at eval.c:1497
#21 0x080486e3 in main (argc=-1073745440, argv=0xbffff1e0, envp=0xbffff760)
     at main.c:46

Shugo

In This Thread