зеркало из https://github.com/github/ruby.git
* eval.c (SETUP_ARGS0): avoid GC problem.
[ruby-dev:28902] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
865dd6f4e7
Коммит
d7ac2f0cd2
|
@ -1,3 +1,8 @@
|
|||
Thu Jun 29 22:47:30 2006 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* eval.c (SETUP_ARGS0): avoid GC problem.
|
||||
[ruby-dev:28902]
|
||||
|
||||
Thu Jun 29 18:58:51 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patch
|
||||
|
|
3
eval.c
3
eval.c
|
@ -2180,7 +2180,8 @@ copy_node_scope(NODE *node, NODE *rval)
|
|||
MEMCPY(argv, RARRAY(args)->ptr, VALUE, argc);\
|
||||
}\
|
||||
if (bpass) {\
|
||||
block = passing_block(rb_eval(self, bpass->nd_body), &_block);\
|
||||
volatile VALUE save_block = rb_eval(self, bpass->nd_body); \
|
||||
block = passing_block(save_block, &_block);\
|
||||
}\
|
||||
} while (0)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче