From c85040d4d07656c4d2a788be145609845ec6074f Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 24 Mar 2016 03:43:06 +0000 Subject: date_core.c: fix jisx0301 and iso8601 * ext/date/date_core.c (d_lite_jisx0301, iso8601_timediv), (dt_lite_jisx0301): format by the format string in local buffer to prevent intermediate strings from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8e8a356abf..491b182da3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -Thu Mar 24 12:42:36 2016 Nobuyoshi Nakada +Thu Mar 24 12:43:05 2016 Nobuyoshi Nakada + + * ext/date/date_core.c (d_lite_jisx0301, iso8601_timediv), + (dt_lite_jisx0301): format by the format string in local buffer + to prevent intermediate strings from GC. * ext/date/date_core.c (mk_inspect_raw, mk_inspect): inspect by "%+"PRIsVALUE, to prevent intermediate strings from GC. -- cgit v1.2.3