зеркало из https://github.com/github/ruby.git
needless RB_GC_GUARD removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
13ffa4c6ee
Коммит
c7a68e8d9d
2
io.c
2
io.c
|
@ -5732,7 +5732,6 @@ pipe_open_v(int argc, VALUE *argv, const char *modestr, int fmode, convconfig_t
|
|||
VALUE execarg_obj, ret;
|
||||
execarg_obj = rb_execarg_new(argc, argv, FALSE);
|
||||
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
|
||||
RB_GC_GUARD(execarg_obj);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -5754,7 +5753,6 @@ pipe_open_s(VALUE prog, const char *modestr, int fmode, convconfig_t *convconfig
|
|||
|
||||
execarg_obj = rb_execarg_new(argc, argv, TRUE);
|
||||
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
|
||||
RB_GC_GUARD(execarg_obj);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче