diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 19:24:58 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 19:24:58 +0000 |
commit | 73e0b8de277cb40dac8c236abeab5ef7ab01529e (patch) | |
tree | d1b6faf15b76fe426b67a02f0a0350e265019cf5 | |
parent | 85508380e6ac020b3e63392622329bc7f3a0fd20 (diff) |
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@12960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/dl/lib/dl/win32.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Aug 16 04:24:28 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/dl/lib/dl/win32.rb: seems that dl doesn't accept void argument. + fixed [ruby-bugs:PR#5489]. + Thu Aug 16 04:23:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more diff --git a/ext/dl/lib/dl/win32.rb b/ext/dl/lib/dl/win32.rb index 92f473d392..0fed47c324 100644 --- a/ext/dl/lib/dl/win32.rb +++ b/ext/dl/lib/dl/win32.rb @@ -6,7 +6,7 @@ class Win32API DLL = {} def initialize(dllname, func, import, export = "0") - prototype = (export + import.to_s).tr("VPpNnLlIi", "0SSI") + prototype = (export + import.to_s).tr("VPpNnLlIi", "0SSI").sub(/^(.)0*$/, '\1') handle = DLL[dllname] ||= DL::Handle.new(dllname) @sym = handle.sym(func, prototype) end @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-08-16" #define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20070816 -#define RUBY_PATCHLEVEL 58 +#define RUBY_PATCHLEVEL 59 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |