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

ruby-changes:13210

From: akr <ko1@a...>
Date: Thu, 17 Sep 2009 00:36:46 +0900 (JST)
Subject: [ruby-changes:13210] Ruby:r24966 (trunk): * time.c (time_mdump): error message refined.

akr	2009-09-17 00:36:30 +0900 (Thu, 17 Sep 2009)

  New Revision: 24966

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

  Log:
    * time.c (time_mdump): error message refined.

  Modified files:
    trunk/ChangeLog
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 24965)
+++ time.c	(revision 24966)
@@ -3587,7 +3587,7 @@
     if (FIXNUM_P(vtm.year)) {
         year = FIX2LONG(vtm.year);
         if (year < 1900 || 1900+0xffff < year)
-            rb_raise(rb_eArgError, "year too big to marshal: %ld", year);
+            rb_raise(rb_eArgError, "year too big to marshal: %ld UTC", year);
     }
     else {
         rb_raise(rb_eArgError, "year too big to marshal");
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24965)
+++ ChangeLog	(revision 24966)
@@ -1,3 +1,7 @@
+Thu Sep 17 00:36:01 2009  Tanaka Akira  <akr@f...>
+
+	* time.c (time_mdump): error message refined.
+
 Wed Sep 16 19:27:43 2009  Yukihiro Matsumoto  <matz@r...>
 
 	* test/ruby/test_thread.rb (TestThread#test_recursive): remove

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

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