From a77206582e9372d748db3bbc85c9c3ab0c6681db Mon Sep 17 00:00:00 2001 From: charliesome Date: Tue, 25 Mar 2014 23:46:05 +0000 Subject: Stop allocating backref strings within gsub's search loop * internal.h: add prototype for rb_reg_search0 * re.c: rename rb_reg_search to rb_reg_search0, add set_backref_str argument to allow callers to indicate that they don't require the backref string to be allocated * string.c: don't allocate backref str if replacement string is provided Closes GH-578. [Bug #9676] [ruby-core:61682] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a3c778b800..e2c0ad7fc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Wed Mar 26 08:45:00 2014 Sam Rawlins + + * internal.h: add prototype for rb_reg_search0 + + * re.c: rename rb_reg_search to rb_reg_search0, add set_backref_str + argument to allow callers to indicate that they don't require the + backref string to be allocated. + + * string.c: don't allocate backref str if replacement string is provided + + [GH-578] [Bug #9676] [ruby-core:61682] + Wed Mar 26 08:29:43 2014 mo khan * lib/rubygem.rb: fix spelling of Jim Weirich. [Fixes GH-577] -- cgit v1.2.3