summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-15 07:38:38 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-15 07:38:38 +0000
commit6cfee9c61cc16b3087ab0e0644a3e6340bc50f6e (patch)
tree76408bf6c65ef6e132fef3ffc740ea9a95de3893 /ChangeLog
parentb4ef6af8eb2ec7060f79952081ac8a606577183f (diff)
downloadruby-6cfee9c61cc16b3087ab0e0644a3e6340bc50f6e.tar.gz
ruby-6cfee9c61cc16b3087ab0e0644a3e6340bc50f6e.tar.xz
ruby-6cfee9c61cc16b3087ab0e0644a3e6340bc50f6e.zip
* array.c (rb_ary_fill): previous commit disabled this usage:
a = [0,1,2,3,4,5,6,7,8,9] a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil] previous commit has advantange for early garbage collection, but potensially would break some script. so I reverted behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d96d72ea9..0e88963e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Tue Nov 15 16:36:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
+
+ * array.c (rb_ary_fill): previous commit disabled this usage:
+
+ a = [0,1,2,3,4,5,6,7,8,9]
+ a.fill {|i| a[i] * 10} #=> [nil, nil, ...., nil]
+
+ previous commit has advantange for early garbage collection, but
+ potensially would break some script. so I reverted behavior.
+
Tue Nov 15 16:15:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (file_load_ok): use eaccess() instead of actually opening