diff --git a/ChangeLog b/ChangeLog index c8ddb70fe8..e627ef6583 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ -Tue Sep 12 15:41:13 2000 Yukihiro Matsumoto +Tue Sep 12 16:02:20 2000 Yukihiro Matsumoto * stable version 1.6.0 released. +Tue Sep 12 16:01:58 2000 WATANABE Hirofumi + + * array.c (rb_ary_unshift_m): typo. + Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto * eval.c (rb_yield_0): stripped array too much, should be just for diff --git a/array.c b/array.c index e665159ee9..09c3a0489d 100644 --- a/array.c +++ b/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 */