diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-04 00:05:30 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-04 00:05:30 +0000 |
| commit | be5ad3a6bcadc8e1b77af0f640c2d37513ac5e7a (patch) | |
| tree | 5b1e65de8988a4f6ab15613cb97198f1fc3caf15 /file.c | |
| parent | a6a43a6e1ae6db190e224fd69bd8fa070e0f3a2a (diff) | |
| download | ruby-be5ad3a6bcadc8e1b77af0f640c2d37513ac5e7a.tar.gz ruby-be5ad3a6bcadc8e1b77af0f640c2d37513ac5e7a.tar.xz ruby-be5ad3a6bcadc8e1b77af0f640c2d37513ac5e7a.zip | |
* file.c (rb_find_file): fix GC problem on Debian GNU/Linux (IA64)
with gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
There is no register/memory to contain load_path. A register (r35)
contains &RARRAY_PTR(load_path), (char*)load_path + 32.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
| -rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4595,7 +4595,7 @@ rb_find_file(VALUE path) rb_raise(rb_eSecurityError, "loading from non-absolute path %s", f); } - load_path = rb_get_load_path(); + RB_GC_GUARD(load_path) = rb_get_load_path(); if (load_path) { long i; |
