* dln.c (dln_load): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4efd36bbd9
commit
7806b0ae28
@ -11,6 +11,8 @@ Fri Mar 1 06:25:49 2002 Tanaka Akira <akr@m17n.org>
|
|||||||
(Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io,
|
(Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io,
|
||||||
UNIXSocket#socketpair and UNIXSocket#pair.
|
UNIXSocket#socketpair and UNIXSocket#pair.
|
||||||
|
|
||||||
|
* dln.c (dln_load): fix typo.
|
||||||
|
|
||||||
Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_mod_include): load modules in argument order.
|
* eval.c (rb_mod_include): load modules in argument order.
|
||||||
|
2
dln.c
2
dln.c
@ -1318,7 +1318,7 @@ dln_load(file)
|
|||||||
rb_loaderror("%s - %s", strerror(errno), file);
|
rb_loaderror("%s - %s", strerror(errno), file);
|
||||||
}
|
}
|
||||||
shl_findsym(&lib, buf, TYPE_PROCEDURE, (void*)&init_fct);
|
shl_findsym(&lib, buf, TYPE_PROCEDURE, (void*)&init_fct);
|
||||||
free(buf)
|
free(buf);
|
||||||
if (init_fct == NULL) {
|
if (init_fct == NULL) {
|
||||||
shl_findsym(&lib, buf, TYPE_UNDEFINED, (void*)&init_fct);
|
shl_findsym(&lib, buf, TYPE_UNDEFINED, (void*)&init_fct);
|
||||||
if (init_fct == NULL) {
|
if (init_fct == NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user