mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
042bb17f55
commit
2efe05858a
2 changed files with 6 additions and 2 deletions
|
@ -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.
|
||||
|
||||
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>
|
||||
|
||||
* eval.c (rb_yield_0): stripped array too much, should be just for
|
||||
|
|
2
array.c
2
array.c
|
@ -358,7 +358,7 @@ rb_ary_unshift_m(argc, argv, ary)
|
|||
if (argc == 0) {
|
||||
rb_raise(rb_eArgError, "wrong # of arguments(at least 1)");
|
||||
}
|
||||
if (argc > 1) {
|
||||
if (argc > 0) {
|
||||
long len = RARRAY(ary)->len;
|
||||
|
||||
/* make rooms by setting the last item */
|
||||
|
|
Loading…
Reference in a new issue