summaryrefslogtreecommitdiff
path: root/sample/drb/extserv_test.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-04-23 14:30:31 -0400
committerPeter Zhu <peter@peterzhu.ca>2024-04-23 15:29:42 -0400
commitb9109b270d129561f06bc2dcd6feaf5c43e82360 (patch)
treefbdae06fd3fcbadf2f15e7294b41069dc407251e /sample/drb/extserv_test.rb
parent81433fd0f52b4214c0e788b6cd9f534b79ec03ba (diff)
Get error from dln_open when USE_SHARED_GCHEADmaster
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 'sample/drb/extserv_test.rb')
0 files changed, 0 insertions, 0 deletions