Project

General

Profile

« Previous | Next » 

Revision f487e5b7

Added by nobu (Nobuyoshi Nakada) almost 5 years ago

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.