ruby-changes:3239
From: ko1@a...
Date: 27 Dec 2007 15:19:50 +0900
Subject: [ruby-changes:3239] akr - Ruby:r14732 (trunk): * encoding.c (rb_enc_codelen): error message refined.
akr 2007-12-27 15:19:09 +0900 (Thu, 27 Dec 2007) New Revision: 14732 Modified files: trunk/ChangeLog trunk/encoding.c Log: * encoding.c (rb_enc_codelen): error message refined. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14732&r2=14731 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=14732&r2=14731 Index: encoding.c =================================================================== --- encoding.c (revision 14731) +++ encoding.c (revision 14732) @@ -680,7 +680,7 @@ { int n = ONIGENC_CODE_TO_MBCLEN(enc,c); if (n == 0) { - rb_raise(rb_eArgError, "invalid mbstring sequence"); + rb_raise(rb_eArgError, "invalid codepoint"); } return n; } Index: ChangeLog =================================================================== --- ChangeLog (revision 14731) +++ ChangeLog (revision 14732) @@ -1,3 +1,7 @@ +Thu Dec 27 15:18:44 2007 Tanaka Akira <akr@f...> + + * encoding.c (rb_enc_codelen): error message refined. + Thu Dec 27 15:11:27 2007 Tanaka Akira <akr@f...> * encoding.c (rb_enc_check): show encodings in error message. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml