ruby-changes:12845
From: nobu <ko1@a...>
Date: Tue, 18 Aug 2009 20:18:35 +0900 (JST)
Subject: [ruby-changes:12845] Ruby:r24577 (trunk): * load.c (rb_feature_provided): suppressed warnings.
nobu 2009-08-18 20:18:25 +0900 (Tue, 18 Aug 2009) New Revision: 24577 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24577 Log: * load.c (rb_feature_provided): suppressed warnings. Modified files: trunk/load.c Index: load.c =================================================================== --- load.c (revision 24576) +++ load.c (revision 24577) @@ -225,11 +225,11 @@ } if (ext && !strchr(ext, '/')) { if (IS_RBEXT(ext)) { - if (rb_feature_p(feature, ext, Qtrue, Qfalse, loading)) return TRUE; + if (rb_feature_p(feature, ext, TRUE, FALSE, loading)) return TRUE; return FALSE; } else if (IS_SOEXT(ext) || IS_DLEXT(ext)) { - if (rb_feature_p(feature, ext, Qfalse, Qfalse, loading)) return TRUE; + if (rb_feature_p(feature, ext, FALSE, FALSE, loading)) return TRUE; return FALSE; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/