mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_iglob -> rb_globi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9ea56f8efe
commit
7aaceb6d9a
2 changed files with 2 additions and 2 deletions
2
util.c
2
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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue