mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
92705750d3
commit
834eb1a8f6
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Jul 24 15:55:02 2014 Naohisa Goto <ngotogenome@gmail.com>
|
||||
|
||||
* 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@gmail.com>
|
||||
|
||||
* lib/benchmark.rb: split executable code into sample directory.
|
||||
|
|
|
@ -51,7 +51,7 @@ extern "C" {
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue