Issue #14720 has been updated by ko1 (Koichi Sasada).
Thank you. No problem.
----------------------------------------
Misc #14720: [PATCH] cont.c: cleanup needless cast
https://bugs.ruby-lang.org/issues/14720#change-71749
* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
----------------------------------------
It seems like leftover development step from r59557
("refactoring Fiber status").
I will make fiber_status use BITFIELD macro in a future
commit.
* cont.c (struct rb_fiber_struct): drop const from fiber_status
(fiber_status_set): remove cast
Seems trivial. const seems overkill after at this time. Will commit in a few
days if no objection (also have auto-fiber/green-thread stuff which touches
this area of code)
---Files--------------------------------
0001-cont.c-cleanup-needless-cast (0 Bytes)
0001-cont.c-cleanup-needless-cast.patch (1.44 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>