mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io.c: reuse internal_write_func
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6199c9acff
commit
6073edd636
1 changed files with 1 additions and 2 deletions
3
io.c
3
io.c
|
@ -955,8 +955,7 @@ internal_write_func(void *ptr)
|
|||
static void*
|
||||
internal_write_func2(void *ptr)
|
||||
{
|
||||
struct io_internal_write_struct *iis = ptr;
|
||||
return (void*)(intptr_t)write(iis->fd, iis->buf, iis->capa);
|
||||
return (void*)internal_write_func(ptr);
|
||||
}
|
||||
|
||||
#ifdef HAVE_WRITEV
|
||||
|
|
Loading…
Add table
Reference in a new issue