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)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php