summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 01:49:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-16 01:49:49 +0000
commitf52547c2bc07e96da2b007060faaac40b5eb0545 (patch)
tree1eaf0e478d62137cd1d4d8822be2a69315193be6
parent9d6194ab18dc064e4979c4fb84411cfb4a7efa6b (diff)
* ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.
a patch by Masaya TARUI <tarui AT prx.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/iconv/iconv.c2
-rw-r--r--version.h6
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 <[email protected]>
+
+ * ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.
+ a patch by Masaya TARUI <tarui AT prx.jp>.
+
Sat May 15 17:16:15 2010 Nobuyoshi Nakada <[email protected]>
* 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