1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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/trunk@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-05-16 01:49:49 +00:00
parent bbebd01d08
commit d9615c85a3
2 changed files with 6 additions and 1 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>.
Sun May 16 02:24:27 2010 Yutaka Kanemoto <kanemoto@ruby-lang.org> Sun May 16 02:24:27 2010 Yutaka Kanemoto <kanemoto@ruby-lang.org>
* configure.in: can not load libruby.so if gcc is used with * configure.in: can not load libruby.so if gcc is used with

View file

@ -178,7 +178,7 @@ static void
rb_iconv_sys_fail(const char *s) rb_iconv_sys_fail(const char *s)
{ {
if (errno == 0) { if (errno == 0) {
rb_raise(rb_eIconvBrokenLibrary, "%s", s); rb_exc_raise(iconv_fail(rb_eIconvBrokenLibrary, Qnil, Qnil, NULL, s));
} }
rb_sys_fail(s); rb_sys_fail(s);
} }