* 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
This commit is contained in:
nobu 2010-05-16 01:49:49 +00:00
parent 9d6194ab18
commit f52547c2bc
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Sun May 16 10:49:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <nobu@ruby-lang.org>
* ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary if

View file

@ -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);
}

View file

@ -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