[前][次][番号順一覧][スレッド一覧]

ruby-changes:19980

From: tadf <ko1@a...>
Date: Sun, 12 Jun 2011 21:09:32 +0900 (JST)
Subject: [ruby-changes:19980] tadf:r32027 (trunk): * ext/date/date_core.c (d_lite_marshal_load): should give converted value.

tadf	2011-06-12 21:09:22 +0900 (Sun, 12 Jun 2011)

  New Revision: 32027

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

  Log:
    * ext/date/date_core.c (d_lite_marshal_load): should give converted value.

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_core.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32026)
+++ ChangeLog	(revision 32027)
@@ -1,3 +1,7 @@
+Sun Jun 12 21:01:56 2011  Tadayoshi Funaba  <tadf@d...>
+
+	* ext/date/date_core.c (d_lite_marshal_load): should give converted value.
+
 Sun Jun 12 20:36:30 2011  Tadayoshi Funaba  <tadf@d...>
 
 	* ext/date/date_core.c: edited doc.
Index: ext/date/date_core.c
===================================================================
--- ext/date/date_core.c	(revision 32026)
+++ ext/date/date_core.c	(revision 32027)
@@ -7079,7 +7079,7 @@
 		       &nth, &jd, &df, &sf, &rof, &rsg);
 
 	    if (!df && f_zero_p(sf) && !rof) {
-		set_to_simple(&dat->s, nth, jd, sg, 0, 0, 0, HAVE_JD);
+		set_to_simple(&dat->s, nth, jd, rsg, 0, 0, 0, HAVE_JD);
 	    } else {
 		if (!complex_dat_p(dat))
 		    rb_raise(rb_eArgError,

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]