From aff96b07a8513f4bb58feace7826e125e16a7eaf Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 24 Jul 2001 09:07:33 +0000 Subject: * eval.c (rb_provide_feature): should not tweak extension used for loading. * io.c (io_fread): use fread(3) if PENDING_COUND is available. * class.c (rb_mod_include_p): Module#include? added. [new] * re.c (ignorecase_setter): give warning on modifying $=. * string.c (rb_str_casecmp): new method. [new] * string.c (rb_str_eql): separated from rb_str_equal(), make it always be case sensitive. [new] * string.c (rb_str_hash): made it always be case sensitive. * eval.c (rb_f_require): should not include path in $" value * file.c (rb_find_file): should return 0 explicitly on failure. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'file.c') diff --git a/file.c b/file.c index d79897fc9..e508cf024 100644 --- a/file.c +++ b/file.c @@ -2348,6 +2348,7 @@ rb_find_file(path) if (file_load_ok(f)) { return rb_str_new2(f); } + return 0; } static void -- cgit