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

* 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:
akr 2002-02-28 22:05:01 +00:00
parent 4efd36bbd9
commit 7806b0ae28
2 changed files with 3 additions and 1 deletions

View file

@ -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,
UNIXSocket#socketpair and UNIXSocket#pair.
* dln.c (dln_load): fix typo.
Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_mod_include): load modules in argument order.

2
dln.c
View file

@ -1318,7 +1318,7 @@ dln_load(file)
rb_loaderror("%s - %s", strerror(errno), file);
}
shl_findsym(&lib, buf, TYPE_PROCEDURE, (void*)&init_fct);
free(buf)
free(buf);
if (init_fct == NULL) {
shl_findsym(&lib, buf, TYPE_UNDEFINED, (void*)&init_fct);
if (init_fct == NULL) {