[ruby-cvs:52310] normal:r45165 (trunk): time: only use packed struct on x86*

normal at ruby-lang.org normal at ruby-lang.org
Mon Feb 24 20:10:11 JST 2014


normal	2014-02-24 20:10:11 +0900 (Mon, 24 Feb 2014)

  New Revision: 45165

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45165

  Log:
    time: only use packed struct on x86*
    
    * configure.in: define PACKED_STRUCT_UNALIGNED for x86*
    * timev.h (struct vtm): use PACKED_STRUCT_UNALIGNED
    * time.c (struct time_object): ditto
      [Bug #9558] non-x86 cannot safely access unaligned addresses

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/time.c
    trunk/timev.h


More information about the ruby-cvs mailing list