Sha256: 01ed784f0d478b765156ad7848c61e513666dceef00d114eae7bb137db6797aa

Contents?: true

Size: 568 Bytes

Versions: 6

Compression:

Stored size: 568 Bytes

Contents

diff --git a/load.c b/load.c
index a2b9da4..05ea96e 100644
--- a/load.c
+++ b/load.c
@@ -981,6 +981,11 @@ search_required(rb_vm_t *vm, VALUE fname, volatile VALUE *path, feature_func rb_
        if (loading) *path = rb_filesystem_str_new_cstr(loading);
        return 'r';
     }
+    else if ((ft = rb_feature_p(vm, ftptr, 0, FALSE, FALSE, &loading)) == 's') {
+       if (loading) *path = rb_filesystem_str_new_cstr(loading);
+       return 's';
+    }
+
     tmp = fname;
     type = rb_find_file_ext(&tmp, ft == 's' ? ruby_ext : loadable_ext);
     switch (type) {

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omnibus-software-23.7.295 config/patches/ruby/ruby-fast-load_31.patch
omnibus-software-23.6.292 config/patches/ruby/ruby-fast-load_31.patch
omnibus-software-23.6.291 config/patches/ruby/ruby-fast-load_31.patch
omnibus-software-23.2.283 config/patches/ruby/ruby-fast-load_31.patch
omnibus-software-23.2.281 config/patches/ruby/ruby-fast-load_31.patch
omnibus-software-22.11.239 config/patches/ruby/ruby-fast-load_31.patch