diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-08 02:44:12 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-08 02:44:12 +0000 |
commit | 2db158667ae995c2685eb0eb48a5b6430e112e07 (patch) | |
tree | 9eec561e3c131c82d6d5c6b854e83aefdb472a52 /include/ruby | |
parent | 933d553de00aca76b93230cf9c37780cbe788693 (diff) | |
download | ruby-2db158667ae995c2685eb0eb48a5b6430e112e07.tar.gz |
* dir.c: shoudn't use ruby object in globbing, because glob service
routines are called before initializing ruby on some platforms (ex.
windows).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 1438a8679c..89c7f602ed 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -725,8 +725,8 @@ struct RBignum { void rb_obj_infect(VALUE,VALUE); -typedef int ruby_glob_func(VALUE,VALUE); -void rb_glob(const char*,void(*)(VALUE,VALUE),VALUE); +typedef int ruby_glob_func(const char*,VALUE, void*); +void rb_glob(const char*,void(*)(const char*,VALUE,void*),VALUE); int ruby_glob(const char*,int,ruby_glob_func*,VALUE); int ruby_brace_glob(const char*,int,ruby_glob_func*,VALUE); |