* dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d99f6d7ff6
commit
6dc931e59f
@ -1,3 +1,7 @@
|
||||
Wed Mar 6 17:58:08 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.
|
||||
|
||||
Tue Mar 5 05:56:29 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* lib/getopts.rb: Rewrite to fix some bugs and complete features.
|
||||
|
3
dln.c
3
dln.c
@ -1248,8 +1248,7 @@ dln_load(file)
|
||||
strcpy(winfile, file);
|
||||
|
||||
/* Load file */
|
||||
if ((handle =
|
||||
LoadLibraryExA(winfile, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)) == NULL) {
|
||||
if ((handle = LoadLibrary(winfile)) == NULL) {
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user