mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf06d8b20b
commit
4ae4525ca4
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -1337,7 +1337,7 @@ rb_io_sysseek(argc, argv, io)
|
||||||
|
|
||||||
GetOpenFile(io, fptr);
|
GetOpenFile(io, fptr);
|
||||||
if ((fptr->mode & FMODE_READABLE) && READ_DATA_PENDING(fptr->f)) {
|
if ((fptr->mode & FMODE_READABLE) && READ_DATA_PENDING(fptr->f)) {
|
||||||
rb_raise(rb_eIOError, "syseek for buffered IO");
|
rb_raise(rb_eIOError, "sysseek for buffered IO");
|
||||||
}
|
}
|
||||||
if ((fptr->mode & FMODE_WRITABLE) && (fptr->mode & FMODE_WBUF)) {
|
if ((fptr->mode & FMODE_WRITABLE) && (fptr->mode & FMODE_WBUF)) {
|
||||||
rb_warn("sysseek for buffered IO");
|
rb_warn("sysseek for buffered IO");
|
||||||
|
|
Loading…
Reference in a new issue