mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cb8d34855e
commit
c8e364cc28
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Feb 23 13:23:03 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
|
||||
|
||||
Wed Feb 22 21:16:55 2006 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/pathname.rb (Pathname#each_filename): use split_names properly.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -2103,7 +2103,7 @@ copy_node_scope(NODE *node, NODE *rval)
|
|||
if (argc > 0) {\
|
||||
int i;\
|
||||
n = anode;\
|
||||
argv = TMP_ALLOC(argc);\
|
||||
argv = TMP_ALLOC(argc+extra);\
|
||||
for (i=0;i<argc;i++) {\
|
||||
argv[i] = rb_eval(self,n->nd_head);\
|
||||
n=n->nd_next;\
|
||||
|
|
Loading…
Reference in a new issue