summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-31 14:24:51 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-31 14:24:51 +0000
commit61b5d3ce8c46d71224868f20533f745b07045d82 (patch)
tree08bf98ede8ee660e20b23cb2796f2507feddfdc8
parent85b1b7fd617bf6b27b97625ae5cb7e230ae888ff (diff)
downloadruby-61b5d3ce8c46d71224868f20533f745b07045d82.tar.gz
ruby-61b5d3ce8c46d71224868f20533f745b07045d82.tar.xz
ruby-61b5d3ce8c46d71224868f20533f745b07045d82.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--io.c2
-rw-r--r--transcode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index da427ef83..5fe2d27cf 100644
--- a/io.c
+++ b/io.c
@@ -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 8ff48aa0c..996b99dc4 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.
*