ruby-changes:6357
From: usa <ko1@a...>
Date: Fri, 4 Jul 2008 20:22:21 +0900 (JST)
Subject: [ruby-changes:6357] Ruby:r17873 (ruby_1_8): * numeric.c (check_uint): sorry, backport misstake.
usa 2008-07-04 20:21:35 +0900 (Fri, 04 Jul 2008)
New Revision: 17873
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/numeric.c
Log:
* numeric.c (check_uint): sorry, backport misstake.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17873
Index: ruby_1_8/numeric.c
===================================================================
--- ruby_1_8/numeric.c (revision 17872)
+++ ruby_1_8/numeric.c (revision 17873)
@@ -1604,7 +1604,7 @@
unsigned long num;
{
if (num > UINT_MAX) {
- rb_raise(rb_eRangeError, "integer %"PRIuVALUE " too big to convert to `unsigned int'", num);
+ rb_raise(rb_eRangeError, "integer %lu too big to convert to `unsigned int'", num);
}
}
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog (revision 17872)
+++ ruby_1_8/ChangeLog (revision 17873)
@@ -1,3 +1,7 @@
+Fri Jul 4 20:20:09 2008 NAKAMURA Usaku <usa@r...>
+
+ * numeric.c (check_uint): sorry, backport misstake.
+
Fri Jul 4 17:53:29 2008 NAKAMURA Usaku <usa@r...>
* numeric.c (check_uint, rb_num2uint, rb_fix2uint): proper check.
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/