Project

General

Profile

« Previous | Next » 

Revision 520f0fec

Added by nobu (Nobuyoshi Nakada) almost 12 years ago

enumerator.c: should not store local variable address

  • enumerator.c (enumerator_with_index): should not store local variable
    address to memoise the arguments. it is invalidated after the return.
    [ruby-core:58692] [Bug #9178]

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