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

ruby-changes:65598

From: nagachika <ko1@a...>
Date: Sat, 20 Mar 2021 15:59:20 +0900 (JST)
Subject: [ruby-changes:65598] 755a349a3a (ruby_2_7): merge revision(s) 4bff8e84232594ecb9914e2a8437b7c40a63b799: [Backport #16814]

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

From 755a349a3a66f5731995296fe3bb7d2b1712167f Mon Sep 17 00:00:00 2001
From: nagachika <nagachika@r...>
Date: Sat, 20 Mar 2021 15:54:03 +0900
Subject: merge revision(s) 4bff8e84232594ecb9914e2a8437b7c40a63b799: [Backport
 #16814]

	Ensure that the head of the vacancy list is correctly inserted into
	 the linked list.

	See <https://bugs.ruby-lang.org/issues/16814> for more details.
	---
	 cont.c | 1 +
	 1 file changed, 1 insertion(+)
---
 cont.c    | 1 +
 version.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/cont.c b/cont.c
index 0c49d34..7f971a9 100644
--- a/cont.c
+++ b/cont.c
@@ -324,6 +324,7 @@ fiber_pool_vacancy_push(struct fiber_pool_vacancy * vacancy, struct fiber_pool_v https://github.com/ruby/ruby/blob/trunk/cont.c#L324
 #ifdef FIBER_POOL_ALLOCATION_FREE
     if (head) {
         head->previous = vacancy;
+        vacancy->previous = NULL;
     }
 #endif
 
diff --git a/version.h b/version.h
index c10798f..9e8f82a 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L2
 # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
 #define RUBY_VERSION_TEENY 3
 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
-#define RUBY_PATCHLEVEL 173
+#define RUBY_PATCHLEVEL 174
 
 #define RUBY_RELEASE_YEAR 2021
 #define RUBY_RELEASE_MONTH 3
-- 
cgit v1.1


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

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