diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-03-20 15:54:03 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-03-20 15:54:03 +0900 |
commit | 755a349a3a66f5731995296fe3bb7d2b1712167f (patch) | |
tree | a321b8f26fc2652047d558c4957ee280fbf6db68 | |
parent | 82bce422ba9e131e62b528854dea69a6e8cc0c04 (diff) | |
download | ruby-755a349a3a66f5731995296fe3bb7d2b1712167f.tar.gz |
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(+)
-rw-r--r-- | cont.c | 1 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -324,6 +324,7 @@ fiber_pool_vacancy_push(struct fiber_pool_vacancy * vacancy, struct fiber_pool_v #ifdef FIBER_POOL_ALLOCATION_FREE if (head) { head->previous = vacancy; + vacancy->previous = NULL; } #endif @@ -2,7 +2,7 @@ # 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 |