зеркало из https://github.com/github/ruby.git
* 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:
Родитель
cb8d34855e
Коммит
c8e364cc28
|
@ -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>
|
Wed Feb 22 21:16:55 2006 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* lib/pathname.rb (Pathname#each_filename): use split_names properly.
|
* 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) {\
|
if (argc > 0) {\
|
||||||
int i;\
|
int i;\
|
||||||
n = anode;\
|
n = anode;\
|
||||||
argv = TMP_ALLOC(argc);\
|
argv = TMP_ALLOC(argc+extra);\
|
||||||
for (i=0;i<argc;i++) {\
|
for (i=0;i<argc;i++) {\
|
||||||
argv[i] = rb_eval(self,n->nd_head);\
|
argv[i] = rb_eval(self,n->nd_head);\
|
||||||
n=n->nd_next;\
|
n=n->nd_next;\
|
||||||
|
|
Загрузка…
Ссылка в новой задаче