Pack("l"), 64 bit question

I applied that, but I get the same result. Doesn't his patch only
affect pack('w')?

Regards,

Dan

···

-----Original Message-----
From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]
Sent: Thursday, February 16, 2006 3:48 PM
To: ruby-talk ML
Subject: Re: pack("l"), 64 bit question

Hi,

In message "Re: pack("l"), 64 bit question" > on Fri, 17 Feb 2006 01:47:36 +0900, Daniel Berger > <Daniel.Berger@qwest.com> writes:

>> Daniel, could you try this patch on your 64bit box?

>Looks good. The only one I found odd was the [nil] returned by
>"\377\377\377\377".unpack("l_"). Is that expected? The 32
bit version returns
>[-1].

No, it should return [4294967295]. How about a patch from
Ville Mattila in [ruby-talk:180126]?

              matz.