summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-27 12:38:13 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-27 12:38:13 +0000
commit204a4a24a1636a02d7a574fd368a3341595e4dbc (patch)
treeabee616f788332617dc92eb20488169899f28bb1 /util.c
parent95609bfeb41b280676d103c9dc2178b8cbb80f4c (diff)
* util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 76902d9a6d..a95bddbf68 100644
--- a/util.c
+++ b/util.c
@@ -358,7 +358,7 @@ __crt0_glob_function(char *path)
info.count = 0;
info.head = 0;
- rb_globi(buf, push_element, (VALUE)&info);
+ ruby_glob(buf, 0, push_element, (VALUE)&info);
if (buf != path_buffer)
ruby_xfree(buf);