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

ruby-changes:31930

From: duerst <ko1@a...>
Date: Thu, 5 Dec 2013 19:35:57 +0900 (JST)
Subject: [ruby-changes:31930] duerst:r44009 (trunk): st.c: tweaked comment

duerst	2013-12-05 19:35:50 +0900 (Thu, 05 Dec 2013)

  New Revision: 44009

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

  Log:
    st.c: tweaked comment

  Modified files:
    trunk/ChangeLog
    trunk/st.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44008)
+++ ChangeLog	(revision 44009)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Dec  5 19:35:35 2013  Martin Duerst <duerst@i...>
+
+	* st.c: tweaked comment
+
 Thu Dec  5 19:21:10 2013  Aman Gupta <ruby@t...>
 
 	* gc.c (struct rb_objspace): rename internal last_collection_flags to
Index: st.c
===================================================================
--- st.c	(revision 44008)
+++ st.c	(revision 44009)
@@ -196,7 +196,7 @@ new_size(st_index_t size) https://github.com/ruby/ruby/blob/trunk/st.c#L196
     for (i = 0, newsize = MINSIZE; i < numberof(primes); i++, newsize <<= 1) {
 	if (newsize > size) return primes[i];
     }
-    /* Ran out of polynomials */
+    /* Ran out of primes */
 #ifndef NOT_RUBY
     rb_raise(rb_eRuntimeError, "st_table too big");
 #endif

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

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