1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix typos.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-08-31 14:24:51 +00:00
parent 1d9a079b1c
commit a017cecf42
2 changed files with 3 additions and 3 deletions

2
io.c
View file

@ -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");
}
}
}

View file

@ -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.
*