[#2748] Proposal: New Bignum — "Evan Webb" <evan@...>
During some experiments with ruby cryptography, I found some problems with
11 messages
2004/04/06
[#2749] Re: Proposal: New Bignum
— matz@... (Yukihiro Matsumoto)
2004/04/06
Hi,
[#2764] RDoc :enddoc: — Tanaka Akira <akr@...17n.org>
I found that RDoc document some method after :enddoc:. Is it
7 messages
2004/04/10
[#2788] Problems building ext/io/wait.c in 1.8 branch — Gavin Sinclair <gsinclair@...>
I can't get io/wait installed. The main problem is that it doesn't
6 messages
2004/04/17
[#2799] Re: Problems building ext/io/wait.c in 1.8 branch
— Gavin Sinclair <gsinclair@...>
2004/04/21
On Saturday, April 17, 2004, 4:42:14 PM, Gavin wrote:
[#2800] Re: Problems building ext/io/wait.c in 1.8 branch
— ts <decoux@...>
2004/04/21
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
[#2801] Re: Problems building ext/io/wait.c in 1.8 branch
— Gavin Sinclair <gsinclair@...>
2004/04/21
On Thursday, April 22, 2004, 1:21:29 AM, ts wrote:
[#2805] Bug 1318 — Steven Jenkins <steven.jenkins@...>
Any comments on
9 messages
2004/04/23
[#2814] Tempfile strangeness in 1.9.0 — Steven Jenkins <steven.jenkins@...>
I didn't open a bug for this because it's from the CVS head, but it
5 messages
2004/04/24
rb_struct_new example needed
From:
jm <jm@...>
Date:
2004-04-29 23:44:25 UTC
List:
ruby-core #2834
If I may endulge in the use of someone's time for a bit. I've narrowed
a bug in my module down to the following line, tested against ruby 1.6,
rb_struct_aset(rb_vfr_obj, rb_str_new2(FT_XFIELD_ASC_DSTPORT),
INT2NUM(tmp32));
I either get
./vftest.rb:57: [BUG] rb_gc_mark(): unknown data type 0x24(0xbffff020)
non object
ruby 1.6.8 (2002-12-24) [i386-linux-gnu]
Aborted
or
./vftest.rb:57: [BUG] Segmentation fault
ruby 1.6.8 (2002-12-24) [i386-linux-gnu]
Aborted
Depending on how many printf() statements I use for debugging output.
I'm assuming then that the bug is with the way I'm using rb_struct
calls as everything else is some what similar to the examples in the
pickaxe box and that the printf() statements are simply altering the
timing, hence the change in the errors above.
So I was hoping someone could tell me if the following is valid, after
calling rb_struct_define with a list of cstrings,
rb_vfr_obj = rb_struct_new(vflowrec, 0);
and then to use rb_struct_aset() as above.
Any pointer in the right direction welcome.
Jeff.