summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-30 05:26:49 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-30 05:26:49 +0000
commita7e62dd16b8fd9bb52d3d989db0154224bc8d39d (patch)
tree8c21a7413c4aff4cc8ef967d6fa6bf2c8da59542 /dir.c
parent34664e81afd72ac8e639083559dfc10821f26d95 (diff)
* dir.c (glob_helper): do not use TRUE for djgpp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/dir.c b/dir.c
index d058334..22f6891 100644
--- a/dir.c
+++ b/dir.c
@@ -919,13 +919,9 @@ glob_helper(path, sub, flags, func, arg)
p = sub ? sub : path;
if (!has_magic(p, 0, flags)) {
- if (
-#if defined DOSISH
- TRUE
-#else
- !(flags & FNM_NOESCAPE)
+#if !defined DOSISH
+ if (!(flags & FNM_NOESCAPE))
#endif
- )
{
newpath = strdup(path);
if (sub) {