diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-16 21:47:32 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-17 08:34:19 +0900 |
| commit | f487e5b7a4b13d23a8bb7807e4f5cc3f9b2a30e3 (patch) | |
| tree | 4032de8185e293012f8824b45d0700361a5a81ad /spec/ruby/core/array/sample_spec.rb | |
| parent | ed2f2b4f98800540024b9c4a5ebde98674889013 (diff) | |
Expanded buf to copy at once
Build dumped string from base packed data and extended year at
once. Although currently ruby_marshal_write_long() never writes
more than 5 bytes per its format specification, allocate
`sizeof(long)+1` for the sanitation.
Diffstat (limited to 'spec/ruby/core/array/sample_spec.rb')
0 files changed, 0 insertions, 0 deletions
