[ruby-cvs:53922] ngoto:r46776 (trunk): * hash.c (ruby_setenv): Fix TestEnv#test_aset failure on Solaris 9.

ngoto at ruby-lang.org ngoto at ruby-lang.org
Fri Jul 11 00:22:09 JST 2014


ngoto	2014-07-11 00:22:07 +0900 (Fri, 11 Jul 2014)

  New Revision: 46776

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

  Log:
    * hash.c (ruby_setenv): Fix TestEnv#test_aset failure on Solaris 9.
      When name contains '=', ruby_setenv raises Errno::EINVAL.
      That is the same behavior as Solaris 10.
      NULL check for malloc return value is also added.

  Modified files:
    trunk/ChangeLog
    trunk/hash.c


More information about the ruby-cvs mailing list