summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-08 21:26:31 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-08 21:27:39 +0900
commit76bd0714cf1140ffd64bf564446c76c54f2c4870 (patch)
tree39c0ffefa8ff92fb63a5cbd0d089a745d2912fd0 /load.c
parent3d87b774c4e38e0dbe3ef181183565c5987cd05f (diff)
solve "duplicate :raise event" in require too [Bug #15877]
Diffstat (limited to 'load.c')
-rw-r--r--load.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/load.c b/load.c
index cc5533e8b2..ba84ec0d7b 100644
--- a/load.c
+++ b/load.c
@@ -1053,7 +1053,6 @@ rb_require_safe(VALUE fname, int safe)
int result = rb_require_internal(fname, safe);
if (result > TAG_RETURN) {
- if (result == TAG_RAISE) rb_exc_raise(rb_errinfo());
EC_JUMP_TAG(GET_EC(), result);
}
if (result < 0) {