cvs: php-src /ext/spl spl_directory.c
| From: | Marcus Boerger | Date: | Mon, 04 Feb 2008 18:35:08 +0000 |
| Subject: | cvs: php-src /ext/spl spl_directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48331@lists.php.net to get a copy of this message | ||
helly Mon Feb 4 18:35:08 2008 UTC
Modified files:
/php-src/ext/spl spl_directory.c
Log:
- Setting flags once is enough
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.144&r2=1.145&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.144 php-src/ext/spl/spl_directory.c:1.145
--- php-src/ext/spl/spl_directory.c:1.144 Mon Feb 4 17:18:48 2008
+++ php-src/ext/spl/spl_directory.c Mon Feb 4 18:35:08 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.144 2008/02/04 17:18:48 helly Exp $ */
+/* $Id: spl_directory.c,v 1.145 2008/02/04 18:35:08 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -619,8 +619,6 @@
}
intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
-
- intern->flags = flags;
if ((ctor_flags & DIT_CTOR_GLOB) && (
(path_type == IS_STRING && strstr(path.s, "glob://") != path.s) ||
(path_type == IS_UNICODE && u_strstr(path.u, u_glob) != path.u)