summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-02 12:07:08 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-02 12:07:08 +0000
commitb77916ffd8c8cb729e9d60d076efe0f22512e669 (patch)
treeeeeddebca6f689a357a2bb57a172d4a54f1eb0dd /dir.c
parentaebd4a5b11f66facb02beda70cab228c956cd7dd (diff)
* 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
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 224965186d..16df31b2c3 100644
--- a/dir.c
+++ b/dir.c
@@ -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