mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c, process.c, time.c, ext: use rb_sys_fail_str instead of
rb_sys_fail. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2c3cc479a9
commit
80429eed63
12 changed files with 79 additions and 65 deletions
|
@ -247,7 +247,7 @@ bsock_setsockopt(int argc, VALUE *argv, VALUE sock)
|
|||
break;
|
||||
}
|
||||
|
||||
#define rb_sys_fail_path(path) rb_sys_fail(NIL_P(path) ? 0 : RSTRING_PTR(path))
|
||||
#define rb_sys_fail_path(path) rb_sys_fail_str(path)
|
||||
|
||||
rb_io_check_closed(fptr);
|
||||
if (setsockopt(fptr->fd, level, option, v, vlen) < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue