mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dln.c (dln_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6a613ba2e4
commit
bf451dbba4
2 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,8 @@ Tue Dec 16 11:37:07 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* load.c (rb_feature_p): ditto.
|
* load.c (rb_feature_p): ditto.
|
||||||
|
|
||||||
|
* dln.c (dln_load): ditto.
|
||||||
|
|
||||||
Tue Dec 16 09:14:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Dec 16 09:14:28 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (block_call): block should not be given to yield.
|
* parse.y (block_call): block should not be given to yield.
|
||||||
|
|
4
dln.c
4
dln.c
|
@ -1433,8 +1433,8 @@ dln_load(const char *file)
|
||||||
if (err_stat != B_NO_ERROR) {
|
if (err_stat != B_NO_ERROR) {
|
||||||
char real_name[MAXPATHLEN];
|
char real_name[MAXPATHLEN];
|
||||||
|
|
||||||
strcpy(real_name, buf);
|
strlcpy(real_name, buf, MAXPATHLEN);
|
||||||
strcat(real_name, "__Fv");
|
strlcat(real_name, "__Fv", MAXPATHLEN);
|
||||||
err_stat = get_image_symbol(img_id, real_name,
|
err_stat = get_image_symbol(img_id, real_name,
|
||||||
B_SYMBOL_TYPE_TEXT, (void **)&init_fct);
|
B_SYMBOL_TYPE_TEXT, (void **)&init_fct);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue