From: Tanaka Akira Date: 2010-05-10T06:55:46+09:00 Subject: [ruby-core:30124] Re: [Bug #1131] String#unpack("V") does not work correctly is linux on s390x 2010/5/10 Klaus K�mpf : > Issue #1131 has been updated by Klaus K�mpf. > > > The 'N' case is also affected on little-endian systems with sizeof(long) == 8; but I'm currently not aware of such architectures. GNU/Linux (x86_64) is sizeof(long) == 8 and little endian. It is seems to work. % ./ruby -v -e 'p [17138429].pack("N").unpack("N")' ruby 1.8.8dev (2010-05-07) [x86_64-linux] [17138429] Is there a test case? Also, pack.c in ruby-1.9.2 don't use OFF32. Can you reproduce the problem with that? -- Tanaka Akira