[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

Re: okay, threading & sandbox r70 -- the latest patch

From: "Nobuyoshi Nakada" <nobu@...>
Date: 2006-09-26 03:56:29 UTC
List: ruby-core #8925
Hi,

At Tue, 26 Sep 2006 02:00:19 +0900
why the lucky stiff wrote in [ruby-core:08923]:
> > +struct thread {
> > +    struct thread *next, *prev;
> > +    rb_jmpbuf_t context;
> > +#ifdef SAVE_WIN32_EXCEPTION_LIST
> > +    DWORD win32_exception_list;
> > +#endif
> >
> > This macro, SAVE_WIN32_EXCEPTION_LIST isn't defined here in node.h.
>
> Should this change in node.h?  Or should I move to ruby.h or, perhaps, a new
> rubythread.h?

Moving the separated include after the macro is defined?

Maybe the last one if you want to move.  FYI, yarv has moved
rb_thread_t to eval_intern.h, and struct thread to eval_thread.c.

-- 
Nobu Nakada

In This Thread