[ruby-cvs:64475] normal:r57309 (trunk): test/fiddle/helper: remove special case for x86_64-linux

normal at ruby-lang.org normal at ruby-lang.org
Thu Jan 12 08:46:05 JST 2017


normal	2017-01-12 08:46:05 +0900 (Thu, 12 Jan 2017)

  New Revision: 57309

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57309

  Log:
    test/fiddle/helper: remove special case for x86_64-linux
    
    RUBY_PLATFORM is "x86_64-linux" on a 32-bit (x86) Ruby built and
    running on a 64-bit Linux kernel.  I also have a /lib64
    directory nowadays because I just installed multi-arch support
    in userspace.  So, fall back to loading based in the size of a
    packed "unsigned long" type instead of special-casing.
    
    Tested with both x86 and x86_64 userspace on 64-bit Linux kernel,
    as well as x86 with a 32-bit Linux kernel.

  Modified files:
    trunk/test/fiddle/helper.rb


More information about the ruby-cvs mailing list