mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (rb_cmpint): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b4641a4bf
commit
a59cf8edc5
3 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Dec 28 14:39:05 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* array.c (rb_cmpint): fixed typo.
|
||||
|
||||
Thu Dec 27 18:43:04 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
|
||||
|
||||
* bignum.c (rb_cstr2inum): deny "0_".
|
||||
|
|
4
array.c
4
array.c
|
@ -1067,8 +1067,8 @@ rb_cmpint(cmp)
|
|||
if (RBIGNUM(cmp)->sign) return 1;
|
||||
return -1;
|
||||
}
|
||||
if (rb_funcall(id_cmp, '>', 1, INT2FIX(0))) return 1;
|
||||
if (rb_funcall(id_cmp, '<', 1, INT2FIX(0))) return -1;
|
||||
if (rb_funcall(cmp, '>', 1, INT2FIX(0))) return 1;
|
||||
if (rb_funcall(cmp, '<', 1, INT2FIX(0))) return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#define RUBY_VERSION "1.7.2"
|
||||
#define RUBY_RELEASE_DATE "2001-12-27"
|
||||
#define RUBY_RELEASE_DATE "2001-12-28"
|
||||
#define RUBY_VERSION_CODE 172
|
||||
#define RUBY_RELEASE_CODE 20011227
|
||||
#define RUBY_RELEASE_CODE 20011228
|
||||
|
|
Loading…
Add table
Reference in a new issue