diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 10:07:25 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-17 10:07:25 +0000 |
| commit | d3170a0d0ff0e6b6e214b9f9b155c00797d5e056 (patch) | |
| tree | 2804e46f553d626020953f9fcc5d6aba42d8ed8b /dir.c | |
| parent | e3d0d8a0b5fda6e67c594be1f8545204ec11c519 (diff) | |
merges r24127 and r24133 from trunk into ruby_1_9_1.
--
* dir.c (push_glob): fix GC problem.
--
* dir.c (push_glob): re-fix GC problem.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1550,7 +1550,7 @@ push_glob(VALUE ary, VALUE str, int flags) args.value = ary; args.enc = enc; - return ruby_brace_glob0(RSTRING_PTR(str), flags | GLOB_VERBOSE, + return ruby_brace_glob0(StringValuePtr(str), flags | GLOB_VERBOSE, rb_glob_caller, (VALUE)&args, enc); } |
