process.c: fix error message
* process.c (check_exec_redirect_fd): fix error message for unknown symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2d1c94a18d
commit
6f4d00e565
@ -1472,10 +1472,10 @@ check_exec_redirect_fd(VALUE v, int iskey)
|
|||||||
fd = fptr->fd;
|
fd = fptr->fd;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
wrong:
|
||||||
rb_raise(rb_eArgError, "wrong exec redirect");
|
rb_raise(rb_eArgError, "wrong exec redirect");
|
||||||
}
|
}
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
wrong:
|
|
||||||
rb_raise(rb_eArgError, "negative file descriptor");
|
rb_raise(rb_eArgError, "negative file descriptor");
|
||||||
}
|
}
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user