mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
IO#seek segv
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7aac416d2c
commit
50cb050bd7
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -3317,7 +3317,7 @@ Init_IO()
|
|||
rb_define_method(rb_cIO, "<<", rb_io_addstr, 1);
|
||||
rb_define_method(rb_cIO, "flush", rb_io_flush, 0);
|
||||
rb_define_method(rb_cIO, "tell", rb_io_tell, 0);
|
||||
rb_define_method(rb_cIO, "seek", rb_io_seek, 2);
|
||||
rb_define_method(rb_cIO, "seek", rb_io_seek, -1);
|
||||
rb_define_const(rb_cIO, "SEEK_SET", INT2FIX(SEEK_SET));
|
||||
rb_define_const(rb_cIO, "SEEK_CUR", INT2FIX(SEEK_CUR));
|
||||
rb_define_const(rb_cIO, "SEEK_END", INT2FIX(SEEK_END));
|
||||
|
|
Loading…
Reference in a new issue