Project

General

Profile

Actions

Bug #1131

closed

String#unpack("V") does not work correctly is linux on s390x

Added by ittayd (Ittay Dror) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [s390x-linux]
[ruby-core:21937]

Description

=begin
irb(main):008:0> [17138429].pack("V").unpack("V")
=> [73608992059817984]

ruby --version:
ruby 1.8.7 (2008-08-11 patchlevel 72) [s390x-linux]

uname -a:
Linux etpgloi 2.6.5-7.244-s390x #1 SMP Mon Dec 12 18:32:25 UTC 2005 s390x s390x s390x GNU/Linux

cat /etc/issue:
Welcome to SUSE LINUX Enterprise Server 9 (s390x) - Kernel \r (\l).

ruby was compiled from sources.
=end


Files

config.h (5.12 KB) config.h config.h from system-z (running linux) ittayd (Ittay Dror), 04/16/2009 03:41 PM
s390x-config.h (4.89 KB) s390x-config.h s390x config.h darix (Marcus Rückert), 02/16/2010 07:51 PM
bnc603914_string_unpack.patch (485 Bytes) bnc603914_string_unpack.patch Proposed patch kkaempf (Klaus Kämpf), 05/10/2010 03:48 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0