зеркало из https://github.com/github/ruby.git
* proc.c (proc_dup): should copy safe_level from src proc
properly. a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
79fdbe0519
Коммит
989c8ed00a
|
@ -1,3 +1,9 @@
|
||||||
|
Thu May 22 05:45:30 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* proc.c (proc_dup): should copy safe_level from src proc
|
||||||
|
properly. a patch from Keita Yamaguchi
|
||||||
|
<keita.yamaguchi at gmail.com>
|
||||||
|
|
||||||
Thu May 22 02:46:08 2008 Shugo Maeda <shugo@ruby-lang.org>
|
Thu May 22 02:46:08 2008 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]
|
* lib/net/imap.rb: do not use Thread#raise. [ruby-dev:34739]
|
||||||
|
|
2
proc.c
2
proc.c
|
@ -92,7 +92,7 @@ proc_dup(VALUE self)
|
||||||
dst->block = src->block;
|
dst->block = src->block;
|
||||||
dst->block.proc = procval;
|
dst->block.proc = procval;
|
||||||
dst->envval = src->envval;
|
dst->envval = src->envval;
|
||||||
dst->safe_level = dst->safe_level;
|
dst->safe_level = src->safe_level;
|
||||||
dst->is_lambda = src->is_lambda;
|
dst->is_lambda = src->is_lambda;
|
||||||
|
|
||||||
return procval;
|
return procval;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче