summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--util.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 94c46e1dd3..8a46782d34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 27 21:36:47 2007 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * util.c (__crt0_glob_function): use ruby_glob() instead of rb_globi().
+
Tue Feb 27 21:33:04 2007 WATANABE Hirofumi <eban@ruby-lang.org>
* configure:in (ac_cv_func_setrlimit): workaround for djgpp.
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);