[ruby-cvs:65614] normal:r58442 (trunk): define PACKED_STRUCT_UNALIGNED correctly

normal at ruby-lang.org normal at ruby-lang.org
Sat Apr 22 10:08:15 JST 2017

normal	2017-04-22 10:08:15 +0900 (Sat, 22 Apr 2017)

  New Revision: 58442


    define PACKED_STRUCT_UNALIGNED correctly
    Defining PACKED_STRUCT_UNALIGNED to a noop in ruby/config.h (via
    `configure') prevents the definition in include/ruby/defines.h
    from working
    This should have been fixed in r46914, so there's a size
    regression for some objects since Ruby 2.2+.  I do not believe
    we can backport to existing releases, either, since it can
    affect ABI.
    Add a test for Time objects on common x86-based platforms to
    check for future regressions.
    * configure.in: remove PACKED_STRUCT_UNALIGNED definition
    * test/ruby/test_time.rb (test_memsize): new test for x86

  Modified files:

More information about the ruby-cvs mailing list