* io.c (io_encoding_set): missing return type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34c6bca381
commit
33a071016b
@ -1,3 +1,7 @@
|
|||||||
|
Tue Dec 25 14:11:57 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* io.c (io_encoding_set): missing return type.
|
||||||
|
|
||||||
Tue Dec 25 14:03:48 2007 NARUSE, Yui <naruse@ruby-lang.org>
|
Tue Dec 25 14:03:48 2007 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* test/rinda/test_rinda.rb (MockClock#{_forward, forwrd, sleep}):
|
* test/rinda/test_rinda.rb (MockClock#{_forward, forwrd, sleep}):
|
||||||
|
4
io.c
4
io.c
@ -1360,7 +1360,8 @@ read_all(rb_io_t *fptr, long siz, VALUE str)
|
|||||||
return io_enc_str(str, fptr);
|
return io_enc_str(str, fptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rb_io_set_nonblock(rb_io_t *fptr)
|
void
|
||||||
|
rb_io_set_nonblock(rb_io_t *fptr)
|
||||||
{
|
{
|
||||||
int flags;
|
int flags;
|
||||||
#ifdef F_GETFL
|
#ifdef F_GETFL
|
||||||
@ -5605,6 +5606,7 @@ io_new_instance(VALUE args)
|
|||||||
return rb_class_new_instance(2, (VALUE*)args+1, *(VALUE*)args);
|
return rb_class_new_instance(2, (VALUE*)args+1, *(VALUE*)args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
io_encoding_set(rb_io_t *fptr, int argc, VALUE v1, VALUE v2)
|
io_encoding_set(rb_io_t *fptr, int argc, VALUE v1, VALUE v2)
|
||||||
{
|
{
|
||||||
if (argc == 2) {
|
if (argc == 2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user