From 1089ff2d1e337722e4ee5e1b33ed5a6510bbc435 Mon Sep 17 00:00:00 2001 From: eban Date: Fri, 30 Dec 2005 05:26:49 +0000 Subject: * dir.c (glob_helper): do not use TRUE for djgpp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index d058334ac..22f68913d 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) { -- cgit