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

ruby-changes:32443

From: a_matsuda <ko1@a...>
Date: Tue, 7 Jan 2014 23:29:53 +0900 (JST)
Subject: [ruby-changes:32443] a_matsuda:r44522 (trunk): * numeric.c: Fix typo in an error message

a_matsuda	2014-01-07 23:29:41 +0900 (Tue, 07 Jan 2014)

  New Revision: 44522

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

  Log:
    * numeric.c:  Fix typo in an error message
    
    s/unsgined/unsigned/

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 44521)
+++ numeric.c	(revision 44522)
@@ -2316,7 +2316,7 @@ rb_num2ull(VALUE val) https://github.com/ruby/ruby/blob/trunk/numeric.c#L2316
 
 	    snprintf(buf, sizeof(buf), "%-.10g", RFLOAT_VALUE(val));
 	    if ((s = strchr(buf, ' ')) != 0) *s = '\0';
-	    rb_raise(rb_eRangeError, "float %s out of range of unsgined long long", buf);
+	    rb_raise(rb_eRangeError, "float %s out of range of unsigned long long", buf);
 	}
     }
     else if (RB_TYPE_P(val, T_BIGNUM)) {

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

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