summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--eval.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a7b416385..285419665 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Feb 21 17:19:27 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * eval.c (rb_f_require): do not need to abort if a DLEXT file
+ is not found.
+
Fri Feb 21 12:45:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_cmp_m): two small bugs fixed.
diff --git a/eval.c b/eval.c
index ea60f9bcd..83f9def7c 100644
--- a/eval.c
+++ b/eval.c
@@ -5704,14 +5704,12 @@ rb_f_require(obj, fname)
return load_dyna(feature, tmp);
}
#endif
- load_failed(fname);
}
else if (strcmp(DLEXT, ext) == 0) {
tmp = rb_find_file(fname);
if (tmp) {
return load_dyna(fname, tmp);
}
- load_failed(fname);
}
#ifdef DLEXT2
else if (strcmp(DLEXT2, ext) == 0) {
@@ -5719,7 +5717,6 @@ rb_f_require(obj, fname)
if (tmp) {
return load_dyna(fname, tmp);
}
- load_failed(fname);
}
#endif
}