summaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-21 04:31:15 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-21 04:31:15 +0000
commit02ab62312b0f0e5104db4279d1baeef1ac5fe602 (patch)
tree9b6d413cad2701781ae7fb6cfdecaab7437cc92d /include/ruby
parent98cc7016a68f35584408141ca2180075273ecb23 (diff)
downloadruby-02ab62312b0f0e5104db4279d1baeef1ac5fe602.tar.gz
ruby-02ab62312b0f0e5104db4279d1baeef1ac5fe602.tar.xz
ruby-02ab62312b0f0e5104db4279d1baeef1ac5fe602.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@19868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 6472ee8ce..ce6221cc2 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -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);