diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-31 14:24:51 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-31 14:24:51 +0000 |
commit | a017cecf42d321d69420b7f50ce7c24177a8bfea (patch) | |
tree | 08bf98ede8ee660e20b23cb2796f2507feddfdc8 | |
parent | 1d9a079b1c3b54da5935201c796c7cdb423ed4c8 (diff) | |
download | ruby-a017cecf42d321d69420b7f50ce7c24177a8bfea.tar.gz |
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 2 | ||||
-rw-r--r-- | transcode.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -3888,7 +3888,7 @@ rb_io_extract_modeenc(VALUE *mode_p, VALUE opthash, if (io_extract_encoding_option(opthash, &enc, &enc2)) { if (has_enc) { - rb_raise(rb_eArgError, "encoding sepecified twice"); + rb_raise(rb_eArgError, "encoding specified twice"); } } } diff --git a/transcode.c b/transcode.c index 8ff48aa0c7..996b99dc47 100644 --- a/transcode.c +++ b/transcode.c @@ -2640,12 +2640,12 @@ econv_finish(VALUE self) * Other elements are only meaningful when result is * :invalid_byte_sequence, :incomplete_input or :undefined_conversion. * - * enc1 and enc2 indicats a conversion step as pair of strings. + * enc1 and enc2 indicates a conversion step as pair of strings. * For example, EUC-JP to ISO-8859-1 is * converted as EUC-JP -> UTF-8 -> ISO-8859-1. * So [enc1, enc2] is ["EUC-JP", "UTF-8"] or ["UTF-8", "ISO-8859-1"]. * - * error_bytes and readagain_bytes indicats the byte sequences which causes the error. + * error_bytes and readagain_bytes indicates the byte sequences which causes the error. * error_bytes is discarded portion. * readagain_bytes is buffered portion which is read again on next conversion. * |