summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-02 12:07:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-02 12:07:30 +0000
commite28a9a7b943d795cf2d6ffb70fb72094433b8258 (patch)
tree914f53a00613f8c122c05d12dd2bea1da2a44a5a
parentfd06a2a7fbcaf995b662575f894a0f6ecd1be175 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--dir.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 98057975be..3a4bc8443f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/dir.c b/dir.c
index 4a96e488ca..0289b661c9 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