* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eed1deecba
commit
9d7a5a493f
@ -1899,7 +1899,7 @@ check_exec_redirect(VALUE key, VALUE val, struct rb_execarg *eargp)
|
|||||||
else if (RB_TYPE_P(key, T_ARRAY)) {
|
else if (RB_TYPE_P(key, T_ARRAY)) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < RARRAY_LEN(key); i++) {
|
for (i = 0; i < RARRAY_LEN(key); i++) {
|
||||||
VALUE v = RARRAY_AREF(key, i);
|
VALUE v = RARRAY_AREF(key, i);
|
||||||
VALUE fd = check_exec_redirect_fd(v, 1);
|
VALUE fd = check_exec_redirect_fd(v, 1);
|
||||||
if (FIX2INT(fd) != 1 && FIX2INT(fd) != 2) break;
|
if (FIX2INT(fd) != 1 && FIX2INT(fd) != 2) break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user