[ruby-cvs:51964] naruse:r44819 (ruby_2_1): merge revision(s) 44803: [Backport #9478]

naruse at ruby-lang.org naruse at ruby-lang.org
Wed Feb 5 11:35:15 JST 2014


naruse	2014-02-05 11:35:13 +0900 (Wed, 05 Feb 2014)

  New Revision: 44819

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44819

  Log:
    merge revision(s) 44803: [Backport #9478]
    
    * string.c (rb_str_modify_expand): enable capacity and disable
      assocation with packed objects when setting capa, so that
      pack("p") string fails to unpack properly after modified.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/string.c
    branches/ruby_2_1/test/ruby/test_pack.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list