diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | transcode.c | 4 | ||||
-rw-r--r-- | version.h | 6 |
3 files changed, 9 insertions, 5 deletions
@@ -1,3 +1,7 @@ +Wed Aug 13 02:36:47 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * transcode.c (str_transcode): fix error message. + Tue Aug 12 23:42:31 2008 Tanaka Akira <akr@fsij.org> * transcode.c (rb_cEncodingConverter): new class Encoding::Converter. diff --git a/transcode.c b/transcode.c index 324bc3e483..5f361e7753 100644 --- a/transcode.c +++ b/transcode.c @@ -1072,7 +1072,7 @@ str_transcode(int argc, VALUE *argv, VALUE *self) v = rb_hash_aref(opt, sym_replace); } else { - rb_raise(rb_eArgError, "unknown value for invalid: setting"); + rb_raise(rb_eArgError, "unknown value for invalid character option"); } v = rb_hash_aref(opt, sym_undef); if (NIL_P(v)) { @@ -1084,7 +1084,7 @@ str_transcode(int argc, VALUE *argv, VALUE *self) options |= UNDEF_REPLACE; } else { - rb_raise(rb_eArgError, "unknown value for undef: setting"); + rb_raise(rb_eArgError, "unknown value for undefined character option"); } } if (argc < 1 || argc > 2) { @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2008-08-12" +#define RUBY_RELEASE_DATE "2008-08-13" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20080812 +#define RUBY_RELEASE_CODE 20080813 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 8 -#define RUBY_RELEASE_DAY 12 +#define RUBY_RELEASE_DAY 13 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |