* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.

[ruby-dev:22761]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2004-01-29 08:05:29 +00:00
parent a84fc19203
commit 7a987b9bcd
5 changed files with 363 additions and 232 deletions

2
util.c
View file

@ -354,7 +354,7 @@ __crt0_glob_function(char *path)
info.count = 0;
info.head = 0;
rb_globi(buf, push_element, (VALUE)&info);
rb_glob(buf, push_element, (VALUE)&info);
if (buf != path_buffer)
ruby_xfree(buf);