mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
34664e81af
commit
a7e62dd16b
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Dec 30 14:24:53 2005 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* dir.c (glob_helper): do not use TRUE for djgpp.
|
||||
|
||||
Fri Dec 30 04:54:40 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* file.c (eaccess): workaround for VC++8 runtime.
|
||||
|
|
8
dir.c
8
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue