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

ruby-changes:32572

From: hsbt <ko1@a...>
Date: Sun, 19 Jan 2014 14:43:41 +0900 (JST)
Subject: [ruby-changes:32572] hsbt:r44651 (trunk): * gc.c: fix typo by @windwiny [fix GH-506]

hsbt	2014-01-19 14:43:28 +0900 (Sun, 19 Jan 2014)

  New Revision: 44651

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

  Log:
    *  gc.c: fix typo by @windwiny [fix GH-506]
    *  proc.c: ditto
    *  variable.c: ditto

  Modified files:
    trunk/gc.c
    trunk/proc.c
    trunk/variable.c
Index: variable.c
===================================================================
--- variable.c	(revision 44650)
+++ variable.c	(revision 44651)
@@ -635,7 +635,7 @@ rb_trace_eval(VALUE cmd, VALUE val) https://github.com/ruby/ruby/blob/trunk/variable.c#L635
  *     trace_var(symbol) {|val| block }    -> nil
  *
  *  Controls tracing of assignments to global variables. The parameter
- *  +symbol_ identifies the variable (as either a string name or a
+ *  +symbol+ identifies the variable (as either a string name or a
  *  symbol identifier). _cmd_ (which may be a string or a
  *  +Proc+ object) or block is executed whenever the variable
  *  is assigned. The block or +Proc+ object receives the
Index: proc.c
===================================================================
--- proc.c	(revision 44650)
+++ proc.c	(revision 44651)
@@ -1113,7 +1113,7 @@ proc_to_s(VALUE self) https://github.com/ruby/ruby/blob/trunk/proc.c#L1113
 
 /*
  *  call-seq:
- *     prc.to_proc -> prc
+ *     prc.to_proc -> proc
  *
  *  Part of the protocol for converting objects to <code>Proc</code>
  *  objects. Instances of class <code>Proc</code> simply return
@@ -2366,7 +2366,7 @@ rb_proc_new( https://github.com/ruby/ruby/blob/trunk/proc.c#L2366
 
 /*
  *  call-seq:
- *     meth.to_proc    -> prc
+ *     meth.to_proc    -> proc
  *
  *  Returns a <code>Proc</code> object corresponding to this method.
  */
Index: gc.c
===================================================================
--- gc.c	(revision 44650)
+++ gc.c	(revision 44651)
@@ -211,7 +211,7 @@ static ruby_gc_params_t gc_params = { https://github.com/ruby/ruby/blob/trunk/gc.c#L211
 
 /* RGENGC_ESTIMATE_OLDMALLOC
  * Enable/disable to estimate increase size of malloc'ed size by old objects.
- * If estimation exceeds threashold, then will invoke full GC.
+ * If estimation exceeds threshold, then will invoke full GC.
  * 0: disable estimation.
  * 1: enable estimation.
  */
@@ -4206,7 +4206,7 @@ verify_internal_consistency_i(void *page https://github.com/ruby/ruby/blob/trunk/gc.c#L4206
  *  Verify internal consistency.
  *
  *  This method is implementation specific.
- *  Now this method checks generatioanl consistency
+ *  Now this method checks generational consistency
  *  if RGenGC is supported.
  */
 static VALUE
@@ -5702,7 +5702,7 @@ gc_set_initial_pages(void) https://github.com/ruby/ruby/blob/trunk/gc.c#L5702
  * * RUBY_GC_HEAP_INIT_SLOTS
  *   - Initial allocation slots.
  * * RUBY_GC_HEAP_FREE_SLOTS
- *   - Prepare at least this ammount of slots after GC.
+ *   - Prepare at least this amount of slots after GC.
  *   - Allocate slots if there are not enough slots.
  * * RUBY_GC_HEAP_GROWTH_FACTOR (new from 2.1)
  *   - Allocate slots by this factor.

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

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