summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
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 4a96e488cae..0289b661c9c 100644
--- a/dir.c
+++ b/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