ruby-changes:43346
From: nobu <ko1@a...>
Date: Wed, 15 Jun 2016 15:26:57 +0900 (JST)
Subject: [ruby-changes:43346] nobu:r55420 (trunk): date_core.c: missing argument
nobu 2016-06-15 15:26:51 +0900 (Wed, 15 Jun 2016) New Revision: 55420 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55420 Log: date_core.c: missing argument * ext/date/date_core.c (d_lite_initialize): fix missing argument for write-barrier. Modified files: trunk/ext/date/date_core.c Index: ext/date/date_core.c =================================================================== --- ext/date/date_core.c (revision 55419) +++ ext/date/date_core.c (revision 55420) @@ -4752,7 +4752,7 @@ d_lite_initialize(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L4752 rb_raise(rb_eArgError, "cannot load complex into simple"); - set_to_complex(&dat->c, nth, rjd, df, sf, of, sg, + set_to_complex(self, &dat->c, nth, rjd, df, sf, of, sg, 0, 0, 0, 0, 0, 0, HAVE_JD | HAVE_DF | COMPLEX_DAT); } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/