[ruby-cvs:67809] yui-knk:r60628 (trunk): node.c: Fix possible alignment bugs

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Fri Nov 3 12:22:23 JST 2017


yui-knk	2017-11-03 12:22:23 +0900 (Fri, 03 Nov 2017)

  New Revision: 60628

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

  Log:
    node.c: Fix possible alignment bugs
    
    * node.c (rb_node_buffer_new): Use offsetof for
      node_buffer_t size calculation.
    * node.c (rb_ast_newnode): Use offsetof for
      node_buffer_elem_t size calculation.

  Modified files:
    trunk/node.c


More information about the ruby-cvs mailing list