diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-30 05:26:49 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-30 05:26:49 +0000 |
| commit | 1089ff2d1e337722e4ee5e1b33ed5a6510bbc435 (patch) | |
| tree | 8c21a7413c4aff4cc8ef967d6fa6bf2c8da59542 /dir.c | |
| parent | 4c585eeddb11697fc19355b22c1b306e301ee462 (diff) | |
| download | ruby-1089ff2d1e337722e4ee5e1b33ed5a6510bbc435.tar.gz ruby-1089ff2d1e337722e4ee5e1b33ed5a6510bbc435.tar.xz ruby-1089ff2d1e337722e4ee5e1b33ed5a6510bbc435.zip | |
* 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
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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) { |
