From f49b1d2da0d0d0cddefb9cd93af5b2444a4dfc86 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Fri, 4 Jul 2003 13:24:47 +0000 Subject: [PATCH] make sure operator precedence is not playing tricks on us (it worked before on gcc3.2/Linux and with VC++ 6, but not with gcc3.1/MacOSX) --- ext/standard/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/dir.c b/ext/standard/dir.c index 59ea66843f..0e7fe1e237 100644 --- a/ext/standard/dir.c +++ b/ext/standard/dir.c @@ -437,7 +437,7 @@ PHP_FUNCTION(glob) continue; } - if (S_IFDIR != s.st_mode & S_IFMT) { + if (S_IFDIR != (s.st_mode & S_IFMT)) { continue; } } -- 2.50.1