diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-24 14:52:05 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-24 14:52:05 +0000 |
| commit | 8cdc370c3d8dd4b97fa8d33a96d6e2079cba0e6d (patch) | |
| tree | a3e147709f95e7344bc1ac9bc4ec25d22f99e640 /ruby.c | |
| parent | b215f6d24bd1e2958790bff6d6c83668c20fb28d (diff) | |
| download | ruby-8cdc370c3d8dd4b97fa8d33a96d6e2079cba0e6d.tar.gz ruby-8cdc370c3d8dd4b97fa8d33a96d6e2079cba0e6d.tar.xz ruby-8cdc370c3d8dd4b97fa8d33a96d6e2079cba0e6d.zip | |
* numeric.c (fix_pow): support Fixnum ** Float case directly
without coercing. [ruby-talk:142697] [ruby-talk:143054]
* ruby.c (require_libraries): caused SEGV when continuation jumped
in to the required library code.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
| -rw-r--r-- | ruby.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -350,8 +350,11 @@ require_libraries() ruby_set_current_source(); req_list_last = 0; while (list) { + int state; + ruby_current_node = 0; - rb_require(list->name); + rb_protect((VALUE (*)(VALUE))rb_require, (VALUE)list->name, &state); + if (state) rb_jump_tag(state); tmp = list->next; free(list->name); free(list); |
