Skip to content

Commit

Permalink
comment modified.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Dec 29, 2007
1 parent fffd379 commit 32fe1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 32fe1ec

Please sign in to comment.