diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-15 13:24:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-15 13:24:39 +0000 |
commit | cba32dcaa6cd7369d0c0d130a15522048440c658 (patch) | |
tree | 36b629872c3c84de0c38a385f8249dd8be5dd828 /ext/dl | |
parent | 746a7ec4f676b84febc1c2199bbfba20b3c9050a (diff) | |
download | ruby-cba32dcaa6cd7369d0c0d130a15522048440c658.tar.gz |
* ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222]
* ext/digest/digest.c (rb_digest_instance_update,
rb_digest_instance_finish, rb_digest_instance_reset,
rb_digest_instance_block_length): %s in rb_raise() expects char*.
[ruby-dev:31222]
* ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231]
* ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231]
* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise()
instead of rb_raise(). [ruby-dev:31222]
* ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232]
* ext/syck/syck.h: include stdlib.h for malloc() and free().
[ruby-dev:31232]
* ext/syck/syck.h (syck_parser_set_input_type): prototype added.
[ruby-dev:31231]
* win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232]
* include/ruby/win32.h (rb_w32_getcwd): prototype added.
[ruby-dev:31232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/cfunc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/dl/cfunc.c b/ext/dl/cfunc.c index 253c78f2b1..22e8600002 100644 --- a/ext/dl/cfunc.c +++ b/ext/dl/cfunc.c @@ -460,7 +460,13 @@ rb_dlcfunc_call(VALUE self, VALUE ary) } } else{ - rb_raise(rb_eDLError, "unsupported call type: %x", cfunc->calltype); + rb_raise(rb_eDLError, +#ifndef LONG_LONG_VALUE + "unsupported call type: %lx", +#else + "unsupported call type: %llx", +#endif + cfunc->calltype); } rb_dl_set_last_error(self, INT2NUM(errno)); |