[ruby-cvs:54513] usa:r47365 (ruby_2_0_0): merge revision(s) 46550, 46557, 46565, 46570, 46585, 46595, 46822: [Backport #9977] [Backport #9978] [Backport #9983]

usa at ruby-lang.org usa at ruby-lang.org
Wed Sep 3 12:43:20 JST 2014


usa	2014-09-03 12:43:19 +0900 (Wed, 03 Sep 2014)

  New Revision: 47365

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

  Log:
    merge revision(s) 46550,46557,46565,46570,46585,46595,46822: [Backport #9977] [Backport #9978] [Backport #9983]
    
    * hash.c (ruby_setenv): fix memory leak on Windows, free
      environment strings block after check for the size.
      [ruby-dev:48323] [Bug #9977]
    
    * hash.c (env_select): fix memory leak and crash on Windows, make
      keys array first instead of iterating on envrion directly.
      [ruby-dev:48325] [Bug #9978]
      keys array first instead of iterating on environ directly.
    
    * hash.c (env_shift): fix memory leak on Windows, free environment
      strings block always.  [ruby-dev:48332] [Bug #9983]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/hash.c
    branches/ruby_2_0_0/test/ruby/test_env.rb
    branches/ruby_2_0_0/version.h


More information about the ruby-cvs mailing list