[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23114] [Bug #1342] signal handling on HP-UX

From: Graham Agnew <redmine@...>
Date: 2009-04-04 02:14:29 UTC
List: ruby-core #23114
Issue #1342 has been updated by Graham Agnew.


Hi Nakada-san,

I have modified my 1.9.1-p0 such that getcontext/setcontext would be used, but it hasn't helped.  Basically this was done by running configure as normal and then changing the generated .ext/include/ia64-hpux11.23/ruby/config.h to have the following:

> #define RUBY_SETJMP(env) ( env->value = 0, getcontext(&env->context), env->value )
> #define RUBY_LONGJMP(env,val) ( env->value = val, setcontext(&env->context) )
> typedef struct {
>     ucontext_t context;
>     int value;
> } RUBY_JMP_BUF[1];

I had tp change one or two other places to get it to compile but after that everything compiles OK, and I think the context is being successfully saved and restored.  However I'm still getting the same sort of errors as above.  So it looks like this isn't the answer.

I've googled this error and the only other meaningful reference to this is that there was a bug in the Java VM for HP-UX.  I don't know how to diagnose this problem further or what to try next.

Cheers,
Gra.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1342

----------------------------------------
http://redmine.ruby-lang.org

In This Thread