summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.c2
-rw-r--r--win32/win32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 5a1d3c7644..75889dcb15 100644
--- a/util.c
+++ b/util.c
@@ -350,7 +350,7 @@ __crt0_glob_function(char *path)
info.count = 0;
info.head = 0;
- rb_iglob(buf, push_element, (VALUE)&info);
+ rb_globi(buf, push_element, (VALUE)&info);
if (buf != path_buffer)
ruby_xfree(buf);
diff --git a/win32/win32.c b/win32/win32.c
index d66723a0fc..6f16d4ad06 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1005,7 +1005,7 @@ NtCmdGlob (NtCmdLineElement *patt)
for (p = buf; *p; p = CharNext(p))
if (*p == '\\')
*p = '/';
- rb_iglob(buf, insert, (VALUE)&listinfo);
+ rb_globi(buf, insert, (VALUE)&listinfo);
if (buf != buffer)
free(buf);