Project

General

Profile

« Previous | Next » 

Revision 61f2ee0d

Added by ngoto (Naohisa Goto) almost 8 years ago

  • string.c (str_fill_term): When termlen increases, re-allocation
    of memory for termlen should always be needed.
    In this fix, if possible, decrease capa instead of realloc.
    [Bug #12536] [ruby-dev:49699]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e