time.c: fix time_mark_and_move when WIDEVALUE_IS_WIDER
In such case the pointer need to be casted.
[ruby/stringio] Adjust indent [ci skip]
https://github.com/ruby/stringio/commit/ac6292c17f
[ruby/stringio] Fix SEGV at eof? on null StringIO
https://github.com/ruby/stringio/commit/29b9133332
[ruby/stringio] Fix SEGV at read/pread on null StringIO
https://github.com/ruby/stringio/commit/113dd5a55e
[ruby/stringio] fix: prevent segfault in StringIO#seek with SEEK_END on null device (https://github.com/ruby/stringio/pull/137)
Fixes segmentation fault when calling seek with SEEK_END on null device StringIO created by StringIO.new(nil).
seek
SEEK_END
StringIO.new(nil)
[DOC] Array#map! fix to indicate return is self
[DOC] Array#fill fix to indicate return is self
doc currently indicates the return value as new_array but then in the first sentence explains "always returns +self+ (never a new array)".
new_array
Fix Typo in Regular Expressions docs (_regexp.rdoc)
Small fix for a typo in the regular expression docs. The line of code above this change does not produce the output shown in the docs. With this change the docs will show the correct output for this example of using regex quantifiers.
Fix id2ref table build when GC in progress
Previously, if GC was in progress when we're initially building the id2ref table, it could see the empty table and then crash when trying to remove ids from it. This commit fixes the bug by only publishing the table after GC is done....
Fix lock ordering issue for rb_ractor_sched_wait() and rb_ractor_sched_wakeup()
In rb_ractor_sched_wait() (ex: Ractor.receive), we acquire RACTOR_LOCK(cr) and then thread_sched_lock(cur_th). However, on wakeup if we're a dnt, in thread_sched_wait_running_turn() we acquire...
View all revisions | View revisions
Also available in: Atom