1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dir.c (rb_glob, rb_iglob): remove unnecessary FNM_PATHNAME.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-05-02 12:07:08 +00:00
parent aebd4a5b11
commit b77916ffd8
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Wed May 2 20:39:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* dir.c (rb_glob, rb_iglob): 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
View file

@ -693,7 +693,7 @@ rb_glob(path, func, arg)
void (*func)();
VALUE arg;
{
rb_glob_helper(path, FNM_PERIOD|FNM_PATHNAME, func, arg);
rb_glob_helper(path, FNM_PERIOD, func, arg);
}
void
@ -702,7 +702,7 @@ rb_iglob(path, func, arg)
void (*func)();
VALUE arg;
{
rb_glob_helper(path, FNM_PERIOD|FNM_PATHNAME|FNM_NOCASE, func, arg);
rb_glob_helper(path, FNM_PERIOD|FNM_NOCASE, func, arg);
}
static void