mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
comment modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fffd379d44
commit
32fe1ecdbc
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -545,7 +545,7 @@ io_fflush(rb_io_t *fptr)
|
|||
l = PIPE_BUF;
|
||||
}
|
||||
r = rb_write_internal(fptr->fd, fptr->wbuf+wbuf_off, l);
|
||||
/* xxx: Other threads modified wbuf in non-append operation.
|
||||
/* xxx: Other threads may modify wbuf.
|
||||
* A lock is required, definitely. */
|
||||
rb_io_check_closed(fptr);
|
||||
if (fptr->wbuf_len <= r) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue