From 6cca5fc7ea3421b3601598c10e50ab0f2706baa4 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Feb 2009 10:42:36 +0000 Subject: * compile.c (compile_array_, defined_expr, iseq_compile_each): hide and freeze internal literal objects, to prevent from modifying. [ruby-dev:37959] * iseq.c (insn_operand_intern): copy internal literal objects. * insns.def (putstring, duparray): ditto. * string.c (rb_str_replace): exported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c9e0005fb..2cfd0fc7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Thu Feb 12 19:42:33 2009 Nobuyoshi Nakada + + * compile.c (compile_array_, defined_expr, iseq_compile_each): hide + and freeze internal literal objects, to prevent from modifying. + [ruby-dev:37959] + + * iseq.c (insn_operand_intern): copy internal literal objects. + + * insns.def (putstring, duparray): ditto. + + * string.c (rb_str_replace): exported. + Thu Feb 12 17:17:51 2009 Nobuyoshi Nakada * ext/stringio/stringio.c (strio_ungetc): calculates new position -- cgit