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

ruby-changes:8692

From: davidflanagan <ko1@a...>
Date: Wed, 12 Nov 2008 07:18:40 +0900 (JST)
Subject: [ruby-changes:8692] Ruby:r20227 (trunk): ruby.c (set_internal_encoding_once): fix typo in error string

davidflanagan	2008-11-12 07:18:21 +0900 (Wed, 12 Nov 2008)

  New Revision: 20227

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

  Log:
    ruby.c (set_internal_encoding_once): fix typo in error string

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 20226)
+++ ChangeLog	(revision 20227)
@@ -1,3 +1,7 @@
+Wed Nov 12 07:16:01 2008  David Flanagan  <david@think32>
+
+	* ruby.c (set_internal_encoding_once): fix typo in error string
+
 Wed Nov 12 03:30:59 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* include/ruby/intern.h (rb_{external,locale}_str_new_cstr): optimized
Index: ruby.c
===================================================================
--- ruby.c	(revision 20226)
+++ ruby.c	(revision 20227)
@@ -632,7 +632,7 @@
     if (opt->intern.enc.name &&
 	rb_funcall(ename, rb_intern("casecmp"), 1, opt->intern.enc.name) != INT2FIX(0)) {
 	rb_raise(rb_eRuntimeError,
-		 "default_intenal already set to %s", RSTRING_PTR(opt->intern.enc.name));
+		 "default_internal already set to %s", RSTRING_PTR(opt->intern.enc.name));
     }
     opt->intern.enc.name = ename;
 }

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

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