diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-18 13:35:55 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-18 13:35:55 +0000 |
commit | 0d60352a3f73df972b365ac2b113ca5ad36e78ec (patch) | |
tree | 811fdc34901ef070e9848b490f42cc842771a71c /include | |
parent | 790a018902aa6d6aaa2a327875ee314ec219c97c (diff) | |
download | ruby-0d60352a3f73df972b365ac2b113ca5ad36e78ec.tar.gz ruby-0d60352a3f73df972b365ac2b113ca5ad36e78ec.tar.xz ruby-0d60352a3f73df972b365ac2b113ca5ad36e78ec.zip |
* io.c (make_writeconv): if enc and enc2 is set, convert
string.encoding to enc2.
* include/ruby/io.h: comment changed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h index 32830aaae..9d5407e1f 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -53,7 +53,7 @@ typedef struct rb_io_t { * enc enc2 read action write action * NULL NULL force_encoding(default_external) write the byte sequence of str * e1 NULL force_encoding(e1) convert str.encoding to e1 - * e1 e2 convert from e2 to e1 convert from e1 to e2 + * e1 e2 convert from e2 to e1 convert str.encoding to e2 */ rb_encoding *enc; rb_encoding *enc2; |