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

ruby-changes:71789

From: Ka=C3=ADque <ko1@a...>
Date: Tue, 10 May 2022 13:07:45 +0900 (JST)
Subject: [ruby-changes:71789] a85cdb5a6e (master): Write have instead of have have [ci skip

https://git.ruby-lang.org/ruby.git/commit/?id=a85cdb5a6e

From a85cdb5a6e7d735b03eb5ae80e5ac0c5424eb259 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ka=C3=ADque=20Kandy=20Koga?= <kaiquekandykoga@g...>
Date: Tue, 10 May 2022 01:07:16 -0300
Subject: Write have instead of have have [ci skip

---
 gc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gc.c b/gc.c
index cc012f9e91..8f4a32621b 100644
--- a/gc.c
+++ b/gc.c
@@ -5434,7 +5434,7 @@ gc_sweep_page(rb_objspace_t *objspace, rb_heap_t *heap, struct gc_sweep_context https://github.com/ruby/ruby/blob/trunk/gc.c#L5434
         bits[BITMAP_INDEX(p) + page_rvalue_count / BITS_BITLENGTH] |= ~(((bits_t)1 << out_of_range_bits) - 1);
     }
 
-    /* The last bitmap plane may not be used if the last plane does not have
+    /* The last bitmap plane may not be used if the last plane does not
      * have enough space for the slot_size. In that case, the last plane must
      * be skipped since none of the bits will be set. */
     int bitmap_plane_count = CEILDIV(NUM_IN_PAGE(p) + page_rvalue_count, BITS_BITLENGTH);
-- 
cgit v1.2.1


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

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