hholzgra                Fri Jul  4 09:24:47 2003 EDT

  Modified files:              
    /php-src/ext/standard       dir.c 
  Log:
  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)
  
  
Index: php-src/ext/standard/dir.c
diff -u php-src/ext/standard/dir.c:1.123 php-src/ext/standard/dir.c:1.124
--- php-src/ext/standard/dir.c:1.123    Thu Jul  3 10:54:03 2003
+++ php-src/ext/standard/dir.c  Fri Jul  4 09:24:47 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dir.c,v 1.123 2003/07/03 14:54:03 hholzgra Exp $ */
+/* $Id: dir.c,v 1.124 2003/07/04 13:24:47 hholzgra Exp $ */
 
 /* {{{ includes/startup/misc */
 
@@ -437,7 +437,7 @@
                                continue;
                        }
 
-                       if (S_IFDIR != s.st_mode & S_IFMT) {
+                       if (S_IFDIR != (s.st_mode & S_IFMT)) {
                                continue;
                        }
                }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to