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

* ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol

name.   [ruby-dev:38150]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-11 11:13:40 +00:00
parent 612fe10526
commit 976c01b404
2 changed files with 6 additions and 11 deletions

View file

@ -1,3 +1,8 @@
Wed Mar 11 20:13:38 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol
name. [ruby-dev:38150]
Wed Mar 11 17:26:38 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/dl/win32/lib/Win32API.rb: call by :stdcall as default.

View file

@ -145,17 +145,7 @@ rb_dlhandle_sym(VALUE self, VALUE sym)
rb_secure(2);
if( sym == Qnil ){
#if defined(RTLD_NEXT)
name = RTLD_NEXT;
#else
name = NULL;
#endif
}
else{
name = StringValuePtr(sym);
}
name = StringValuePtr(sym);
Data_Get_Struct(self, struct dl_handle, dlhandle);
if( ! dlhandle->open ){