diff options
author | Peter Zhu <peter@peterzhu.ca> | 2024-04-23 14:30:31 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2024-04-23 15:29:42 -0400 |
commit | b9109b270d129561f06bc2dcd6feaf5c43e82360 (patch) | |
tree | fbdae06fd3fcbadf2f15e7294b41069dc407251e /ext/readline | |
parent | 81433fd0f52b4214c0e788b6cd9f534b79ec03ba (diff) |
Before, if dln_open failed to open RUBY_GC_LIBRARY_PATH, it would segfault
because it would try to raise an error, which cannot happen because the
GC has not been initialized yet.
This commit changes dln_open to return the error that occurred so the
caller can handle the error.
Diffstat (limited to 'ext/readline')
0 files changed, 0 insertions, 0 deletions