diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-21 09:32:18 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-21 09:32:18 +0000 |
commit | f6351a9201fa99a890e68e0e957c60f8588e1696 (patch) | |
tree | be54ccebf6853e3a15c5c0b03cbccd9aec456c3e | |
parent | 8af88a029942eafeeb6488928e7f6c5670f5f8d0 (diff) | |
download | ruby-f6351a9201fa99a890e68e0e957c60f8588e1696.tar.gz ruby-f6351a9201fa99a890e68e0e957c60f8588e1696.tar.xz ruby-f6351a9201fa99a890e68e0e957c60f8588e1696.zip |
* string.c (rb_str_cmp_m): should use LONG2NUM().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | string.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,10 @@ 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 13:39:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> + + * string.c (rb_str_cmp_m): should use LONG2NUM(). + Fri Feb 21 12:45:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org> * string.c (rb_str_cmp_m): two small bugs fixed. @@ -826,7 +826,7 @@ rb_str_cmp_m(str1, str2) else { result = rb_str_cmp(str1, str2); } - return LONG2FIX(result); + return LONG2NUM(result); } static VALUE |