ruby-changes:34842
From: ngoto <ko1@a...>
Date: Thu, 24 Jul 2014 16:04:20 +0900 (JST)
Subject: [ruby-changes:34842] ngoto:r46925 (trunk): * include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should not
ngoto 2014-07-24 16:03:38 +0900 (Thu, 24 Jul 2014) New Revision: 46925 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46925 Log: * include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should not be used for platform-specific optimization. PACKED_STRUCT_UNALIGNED should be used. [ruby-core:63988] [Bug #10088] Modified files: trunk/ChangeLog trunk/include/ruby/io.h Index: include/ruby/io.h =================================================================== --- include/ruby/io.h (revision 46924) +++ include/ruby/io.h (revision 46925) @@ -51,7 +51,7 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/io.h#L51 RUBY_SYMBOL_EXPORT_BEGIN -PACKED_STRUCT(struct rb_io_buffer_t { +PACKED_STRUCT_UNALIGNED(struct rb_io_buffer_t { char *ptr; /* off + len <= capa */ int off; int len; Index: ChangeLog =================================================================== --- ChangeLog (revision 46924) +++ ChangeLog (revision 46925) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jul 24 15:55:02 2014 Naohisa Goto <ngotogenome@g...> + + * include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should not + be used for platform-specific optimization. PACKED_STRUCT_UNALIGNED + should be used. [ruby-core:63988] [Bug #10088] + Thu Jul 24 04:42:13 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> * lib/benchmark.rb: split executable code into sample directory. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/