[#7500] Re: how to introduce reference objects into ruby — "Geert Fannes" <Geert.Fannes@...>

The problem with the code you sent is that you have to go through ALL

16 messages 2006/03/10

[#7553] "not" operator used in expression that is a method parameter can generate syntax error — noreply@...

Bugs item #3843, was opened at 2006-03-15 22:09

27 messages 2006/03/16
[#7554] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — nobu@... 2006/03/16

Hi,

[#7557] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — 卜部昌平 <shyouhei@...> 2006/03/16

Nobu, you are not answering to the question.... You have to unveil why

[#7559] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — Yukihiro Matsumoto <matz@...> 2006/03/16

Hi,

[#7560] Rant about keyword logical operators was : (Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error) — "Zev Blut" <rubyzbibd@...> 2006/03/16

Hello,

[#7565] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — mathew <meta@...> 2006/03/16

Yukihiro Matsumoto wrote:

[#7566] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — "Brian Mitchell" <binary42@...> 2006/03/16

On 3/16/06, mathew <meta@pobox.com> wrote:

[#7567] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — mathew <meta@...> 2006/03/16

Brian Mitchell wrote:

[#7568] Re: [ ruby-Bugs-3843 ] "not" operator used in expression that is a method parameter can generate syntax error — "Brian Mitchell" <binary42@...> 2006/03/16

On 3/16/06, mathew <meta@pobox.com> wrote:

[#7614] PATCH: A subclassable Pathname — "Evan Phoenix" <evanwebb@...>

A simply change (changing all references of "Pathname.new" to

19 messages 2006/03/27
[#7618] Re: PATCH: A subclassable Pathname — Tanaka Akira <akr@...17n.org> 2006/03/27

In article <92f5f81d0603262350k796fe48fp2224b9f2108ac507@mail.gmail.com>,

[#7619] Re: PATCH: A subclassable Pathname — "Evan Phoenix" <evan@...> 2006/03/27

Quite right on the .glob and .getwd. I guess the tests don't test hit

[#7620] Re: PATCH: A subclassable Pathname — Tanaka Akira <akr@...17n.org> 2006/03/27

In article <92f5f81d0603270903g2fb02244i6a395be708dfffa3@mail.gmail.com>,

Re: 1.8.4 on HP-UX/IA64

From: Albert Chin <ruby-core@...>
Date: 2006-03-28 23:05:22 UTC
List: ruby-core #7641
On Wed, Mar 29, 2006 at 07:44:47AM +0900, Albert Chin wrote:
> We've attempted to build 1.8.4 on HP-UX 11.23/IA with GCC 3.4.3:
> gcc -g -O0  -fPIC  -DRUBY_EXPORT  -I. -I.
> -I/opt/TWWfsw/ncurses54/include
> -I/opt/TWWfsw/ncurses54/include/ncurses
> -I/opt/TWWfsw/libopenssl097/include -I/opt/TWWfsw/zlib11/include
> -I/opt/TWWfsw/tcl84/include -I/opt/TWWfsw/tk84/include -c eval.c
> eval.c: In function `rb_thread_save_context':
> eval.c:10064: error: structure has no member named `sc_ar_bsp'
> gmake: *** [eval.o] Error 1
> 
> The offending line:
>         top = (VALUE*)ctx.uc_mcontext.sc_ar_bsp;
> 
> The HP-UX 11.23/IA ucontext_t struct is defined as:
>   typedef struct {
>     __opaque128_t __mc_opaque[2976];
>   } __mcontext_t;
>   typedef __mcontext_t mcontext_t;
> 
>   typedef struct __ucontext {
>     __uc_misc_t __uc_misc;
>     double __uc_reserved[__UC_PADDING];
>     mcontext_t __uc_mcontext;
>   }
> 
> __uc_get_ar_bsp() exists on this platform:
>   int __uc_get_ar_bsp(const ucontext_t *ucp, uint64_t *value);
> 
>   Returns (in the value argument) the saved value of the
>   AR.BSP register.  By convention, this value reflects the
>   effects of the br.call instruction used to enter a syscall
>   or the cover instruction used in handling an interruption.
>   To find the value that will be in AR.BSP when the next
>   instruction is executed the caller must:
>   1)  Call __uc_get_reason() to determine whether the context
>       was created in a syscall or while handling an
>       interruption.
>   2)  Call __uc_get_cfm() to fetch the current frame marker.
>   3)  Adjust the AR.BSP value by CFM.sol (for a syscall
>       context) or CFM.sof (for an interruption context).
> 
> VALUE is of type unsigned long though and __uc_get_ar_bsp expects a
> pointer to type unsigned long long.
> 
> Anyone have any ideas?

Replacing:
  top = (VALUE*)ctx.uc_mcontext.sc_ar_bsp;
with:
  VALUE top;
  __uc_get_ar_bsp(&ctx, &top);

and linking with -luca (apparently necessary according to
__uc_get_ar_bsp(3)) gave:
  ./lib/fileutils.rb:1267: [BUG] Bus Error


-- 
albert chin (china@thewrittenword.com)

In This Thread