mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
a84fc19203
commit
7a987b9bcd
5 changed files with 363 additions and 232 deletions
2
util.c
2
util.c
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue