* io.c, include/ruby/intern.h (rb_io_ascii8bit_binmode): externed.
* ext/socket/socket.c (init_sock): use rb_io_ascii8bit_binmode() instead of rb_io_binmode(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
89dfcd82f0
commit
d423b884b8
@ -1,3 +1,10 @@
|
||||
Tue Oct 21 13:28:42 2008 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* io.c, include/ruby/intern.h (rb_io_ascii8bit_binmode): externed.
|
||||
|
||||
* ext/socket/socket.c (init_sock): use rb_io_ascii8bit_binmode()
|
||||
instead of rb_io_binmode().
|
||||
|
||||
Tue Oct 21 13:17:39 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* mdoc2man.rb: moved into tools/.
|
||||
|
@ -241,7 +241,7 @@ init_sock(VALUE sock, int fd)
|
||||
MakeOpenFile(sock, fp);
|
||||
fp->fd = fd;
|
||||
fp->mode = FMODE_READWRITE|FMODE_DUPLEX;
|
||||
rb_io_binmode(sock);
|
||||
rb_io_ascii8bit_binmode(sock);
|
||||
if (do_not_reverse_lookup) {
|
||||
fp->mode |= FMODE_NOREVLOOKUP;
|
||||
}
|
||||
|
@ -382,6 +382,7 @@ VALUE rb_io_close(VALUE);
|
||||
VALUE rb_io_flush(VALUE);
|
||||
VALUE rb_io_eof(VALUE);
|
||||
VALUE rb_io_binmode(VALUE);
|
||||
VALUE rb_io_ascii8bit_binmode(VALUE);
|
||||
VALUE rb_io_addstr(VALUE, VALUE);
|
||||
VALUE rb_io_printf(int, VALUE*, VALUE);
|
||||
VALUE rb_io_print(int, VALUE*, VALUE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user