mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval_load.c (load_ext, rb_require_safe): pass VALUE instead of
pointer. [ruby-Bugs-11659] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9fa80b19a6
commit
f91ec98d43
3 changed files with 24 additions and 18 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 19 10:55:05 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval_load.c (load_ext, rb_require_safe): pass VALUE instead of
|
||||
pointer. [ruby-Bugs-11659]
|
||||
|
||||
Mon Jun 18 08:47:54 2007 Technorama Ltd. <oss-ruby@technorama.net>
|
||||
* ext/openssl/{extconf.rb,ossl_ssl_session.c}:
|
||||
Fix ruby-Bugs-11513.
|
||||
|
@ -2472,6 +2477,7 @@ Mon Feb 12 11:48:52 2007 Kouhei Sutou <kou@cozmixng.org>
|
|||
* lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightses
|
||||
-> dc_rights_list. dc_rightses still exists for backward
|
||||
compatibility. [ruby-core:8350]
|
||||
|
||||
* test/rss/test_maker_dc.rb: added tests for dc_rights_list.
|
||||
|
||||
Sun Feb 11 22:40:17 2007 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
|
|
@ -409,10 +409,10 @@ load_failed(VALUE fname)
|
|||
}
|
||||
|
||||
static VALUE
|
||||
load_ext(VALUE arg)
|
||||
load_ext(VALUE path)
|
||||
{
|
||||
SCOPE_SET(NOEX_PUBLIC);
|
||||
return (VALUE)dln_load((const char *)arg);
|
||||
return (VALUE)dln_load(RSTRING_PTR(path));
|
||||
}
|
||||
|
||||
VALUE
|
||||
|
@ -456,7 +456,7 @@ rb_require_safe(VALUE fname, int safe)
|
|||
ruby_sourcefile = rb_source_filename(RSTRING_PTR(path));
|
||||
ruby_sourceline = 0;
|
||||
handle = (long)rb_vm_call_cfunc(ruby_top_self, load_ext,
|
||||
ruby_source_filename, 0, path);
|
||||
path, 0, path);
|
||||
rb_ary_push(ruby_dln_librefs, LONG2NUM(handle));
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2007-06-18"
|
||||
#define RUBY_RELEASE_DATE "2007-06-19"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20070618
|
||||
#define RUBY_RELEASE_CODE 20070619
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
#define RUBY_RELEASE_DAY 18
|
||||
#define RUBY_RELEASE_DAY 19
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue