From f52547c2bc07e96da2b007060faaac40b5eb0545 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 16 May 2010 01:49:49 +0000 Subject: [PATCH] * ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments. a patch by Masaya TARUI . git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/iconv/iconv.c | 2 +- version.h | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8c8abb6942..1f14f8dc65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun May 16 10:49:47 2010 Nobuyoshi Nakada + + * ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments. + a patch by Masaya TARUI . + Sat May 15 17:16:15 2010 Nobuyoshi Nakada * ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary if diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index e3a64c3bc3..677c10e3ad 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -151,7 +151,7 @@ static void rb_iconv_sys_fail(const char *s) { if (errno == 0) { - rb_raise(rb_eIconvBrokenLibrary, "%s", s); + rb_exc_raise(iconv_fail(rb_eIconvBrokenLibrary, Qnil, Qnil, NULL, s)); } rb_sys_fail(s); } diff --git a/version.h b/version.h index 8c47f2651d..eae069c25f 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.8.8" -#define RUBY_RELEASE_DATE "2010-05-15" +#define RUBY_RELEASE_DATE "2010-05-16" #define RUBY_VERSION_CODE 188 -#define RUBY_RELEASE_CODE 20100515 +#define RUBY_RELEASE_CODE 20100516 #define RUBY_PATCHLEVEL -1 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 8 #define RUBY_RELEASE_YEAR 2010 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 15 +#define RUBY_RELEASE_DAY 16 #define NO_STRING_LITERAL_CONCATENATION 1 #ifdef RUBY_EXTERN