зеркало из https://github.com/github/ruby.git
* dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fd06a2a7fb
Коммит
e28a9a7b94
|
@ -1,3 +1,7 @@
|
|||
Wed May 2 20:39:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME.
|
||||
|
||||
Wed May 2 11:46:13 2001 K.Kosako <kosako@sofnec.co.jp>
|
||||
|
||||
* eval.c (block_pass): should not downgrade safe level.
|
||||
|
|
4
dir.c
4
dir.c
|
@ -753,7 +753,7 @@ rb_glob(path, func, arg)
|
|||
void (*func)();
|
||||
VALUE arg;
|
||||
{
|
||||
glob_helper(path, FNM_PERIOD|FNM_PATHNAME, func, arg);
|
||||
glob_helper(path, FNM_PERIOD, func, arg);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -762,7 +762,7 @@ rb_globi(path, func, arg)
|
|||
void (*func)();
|
||||
VALUE arg;
|
||||
{
|
||||
glob_helper(path, FNM_PERIOD|FNM_PATHNAME|FNM_NOCASE, func, arg);
|
||||
glob_helper(path, FNM_PERIOD|FNM_NOCASE, func, arg);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Загрузка…
Ссылка в новой задаче