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

ruby-changes:29146

From: akr <ko1@a...>
Date: Sun, 9 Jun 2013 22:04:00 +0900 (JST)
Subject: [ruby-changes:29146] akr:r41198 (trunk): Update an error message.

akr	2013-06-09 22:03:45 +0900 (Sun, 09 Jun 2013)

  New Revision: 41198

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

  Log:
    Update an error message.

  Modified files:
    trunk/bignum.c

Index: bignum.c
===================================================================
--- bignum.c	(revision 41197)
+++ bignum.c	(revision 41198)
@@ -772,7 +772,7 @@ rb_integer_pack(VALUE val, int *signp, v https://github.com/ruby/ruby/blob/trunk/bignum.c#L772
 
     validate_integer_pack_format(wordsize, nails, flags);
     if (SIZE_MAX / wordsize < numwords)
-        rb_raise(rb_eArgError, "too big count * wordsize: %"PRI_SIZE_PREFIX"u * %"PRI_SIZE_PREFIX"u", numwords, wordsize);
+        rb_raise(rb_eArgError, "too big numwords * wordsize: %"PRI_SIZE_PREFIX"u * %"PRI_SIZE_PREFIX"u", numwords, wordsize);
 
     if (FIXNUM_P(val)) {
         long v = FIX2LONG(val);

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

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