diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-03 06:13:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-03 06:13:58 +0000 |
commit | a177c2762e9bbe01e2666026cc70474bdace50b5 (patch) | |
tree | 1296ec9e4dabf8378a1e8526913a84eebc52c84c /dmyenc.c | |
parent | f235dbeea5ca8aa9e433f3b1b5a8cc70970af304 (diff) |
load.c: tweak the return value
* load.c (rb_require_internal): tweak the return value, 1 and 0
correspond to true and false in Kernel#require, respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmyenc.c')
-rw-r--r-- | dmyenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ int ruby_require_internal(const char *, int); void Init_enc(void) { - if (require("enc/encdb.so") == 0) { + if (require("enc/encdb.so") == 1) { require("enc/trans/transdb.so"); } } |