diff options
-rw-r--r-- | util.c | 2 | ||||
-rw-r--r-- | win32/win32.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); |