diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-11-21 17:26:08 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-11-23 07:41:41 -0800 |
| commit | 190b017fc6c21ff7b61c2b5ece0294785e4a4ca2 (patch) | |
| tree | a7b6a38990b13f91963b69cbc7b383e98ef4dd3a /include/ruby/internal/core/rarray.h | |
| parent | 32a4545ee41240cb16344936e7c1c5ed01663059 (diff) | |
Don't use non blocking pipes for RUBY_CRASH_REPORT
[Bug #21703]
RUBY_CRASH_REPORT does not work in some cases when shelling out on Linux.
For example, given the following shell script dump.sh:
#!/usr/bin/env bash
cat > /tmp/crash
And we see it fails like this:
$ RUBY_CRASH_REPORT="|dump.sh" ruby -rfiddle -e "Fiddle::Pointer.new(1, 10)[0]"
cat: -: Resource temporarily unavailable
Diffstat (limited to 'include/ruby/internal/core/rarray.h')
0 files changed, 0 insertions, 0 deletions
