diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-23 11:57:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-23 11:57:01 +0000 |
commit | 5396d8a1ab52b4da4f5199109472fe7f8ea43085 (patch) | |
tree | 44c7235c2395f933342c2c6b269bc160c5ad5b55 /ChangeLog | |
parent | 63436b3ff215e0b38c76ced4e5c1c1bba41dad62 (diff) | |
download | ruby-5396d8a1ab52b4da4f5199109472fe7f8ea43085.tar.gz |
strftime.c: format in String
* strftime.c (rb_strftime_with_timespec): append formatted results
to the given string with expanding, and also deal with NUL chars.
* strftime.c (rb_strftime, rb_strftime_timespec): return formatted
string, not the length put in the given buffer.
* time.c (rb_strftime_alloc): no longer needs to retry with
reallocating buffers.
* time.c (time_strftime): no longer needs to split by NUL chars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Wed Mar 23 20:56:59 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * strftime.c (rb_strftime_with_timespec): append formatted results + to the given string with expanding, and also deal with NUL chars. + + * strftime.c (rb_strftime, rb_strftime_timespec): return formatted + string, not the length put in the given buffer. + + * time.c (rb_strftime_alloc): no longer needs to retry with + reallocating buffers. + + * time.c (time_strftime): no longer needs to split by NUL chars. + Wed Mar 23 14:23:54 2016 NARUSE, Yui <naruse@ruby-lang.org> * lib/rdoc/ri/driver.rb (interactive): rescue NotFoundError raised in |