1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-09-12 07:08:40 +00:00
parent 042bb17f55
commit 2efe05858a
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,11 @@
Tue Sep 12 15:41:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org> Tue Sep 12 16:02:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* stable version 1.6.0 released. * stable version 1.6.0 released.
Tue Sep 12 16:01:58 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
* array.c (rb_ary_unshift_m): typo.
Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org> Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_yield_0): stripped array too much, should be just for * eval.c (rb_yield_0): stripped array too much, should be just for

View file

@ -358,7 +358,7 @@ rb_ary_unshift_m(argc, argv, ary)
if (argc == 0) { if (argc == 0) {
rb_raise(rb_eArgError, "wrong # of arguments(at least 1)"); rb_raise(rb_eArgError, "wrong # of arguments(at least 1)");
} }
if (argc > 1) { if (argc > 0) {
long len = RARRAY(ary)->len; long len = RARRAY(ary)->len;
/* make rooms by setting the last item */ /* make rooms by setting the last item */