[前][次][番号順一覧][スレッド一覧]

ruby-changes:7480

From: akr <ko1@a...>
Date: Sun, 31 Aug 2008 23:25:51 +0900 (JST)
Subject: [ruby-changes:7480] Ruby:r18999 (trunk): fix typos.

akr	2008-08-31 23:24:51 +0900 (Sun, 31 Aug 2008)

  New Revision: 18999

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18999

  Log:
    fix typos.

  Modified files:
    trunk/io.c
    trunk/transcode.c

Index: io.c
===================================================================
--- io.c	(revision 18998)
+++ io.c	(revision 18999)
@@ -3888,7 +3888,7 @@
 
         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");
             }
         }
     }
Index: transcode.c
===================================================================
--- transcode.c	(revision 18998)
+++ transcode.c	(revision 18999)
@@ -2640,12 +2640,12 @@
  * 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.
  *

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]