diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-11-07 09:35:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 09:35:19 -0500 |
| commit | fca07d73e3778a782fd719ceda606a62f028d1dc (patch) | |
| tree | 1be6d8c8181676fbc45a899cdb745de0996c12d3 /include/ruby/internal/intern | |
| parent | 3f7c72cd33566eb11497c1d41c2b94c98c364882 (diff) | |
Respect RUBY_CRASH_REPORT path when RUBY_ASSERT() fails
Previously, it always used stderr. Slight shuffle of the first line
of the crash due to reusing code from rb_bug():
```diff
-Assertion Failed: /ruby/object.c:649:rb_obj_itself:false
+/ruby/object.c:649: Assertion Failed: rb_obj_itself:false
```
Tested locally to confirm that it writes to the file given with
RUBY_CRASH_REPORT. Follow-up for [Feature #19790].
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12019
Merged-By: XrXr
Diffstat (limited to 'include/ruby/internal/intern')
0 files changed, 0 insertions, 0 deletions
