cvs: php-src /ext/standard dir.c
| From: | Hartmut Holzgraefe | Date: | Fri, 04 Jul 2003 13:24:47 +0000 |
| Subject: | cvs: php-src /ext/standard dir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22362@lists.php.net to get a copy of this message | ||
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;
}
}