зеркало из https://github.com/github/ruby.git
* time.c (time_mdump): error message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5529a03271
Коммит
87105a7da4
|
@ -1,3 +1,7 @@
|
|||
Thu Sep 17 00:36:01 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* time.c (time_mdump): error message refined.
|
||||
|
||||
Wed Sep 16 19:27:43 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_thread.rb (TestThread#test_recursive): remove
|
||||
|
|
2
time.c
2
time.c
|
@ -3587,7 +3587,7 @@ time_mdump(VALUE time)
|
|||
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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче