From: "Berger, Daniel" Date: 2006-02-17T07:59:05+09:00 Subject: Re: pack("l"), 64 bit question > -----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 > 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. I applied that, but I get the same result. Doesn't his patch only affect pack('w')? Regards, Dan