helly Mon Feb 4 17:18:48 2008 UTC
Modified files:
/php-src/ext/spl spl_directory.c
Log:
Fix default flag value in contructor
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.143&r2=1.144&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.143
php-src/ext/spl/spl_directory.c:1.144
--- php-src/ext/spl/spl_directory.c:1.143 Sat Feb 2 22:53:05 2008
+++ php-src/ext/spl/spl_directory.c Mon Feb 4 17:18:48 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.143 2008/02/02 22:53:05 helly Exp $ */
+/* $Id: spl_directory.c,v 1.144 2008/02/04 17:18:48 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -597,7 +597,7 @@
zstr path;
int parsed, len;
zend_uchar path_type;
- long flags;
+ long flags = 0;
php_set_error_handling(EH_THROW, spl_ce_RuntimeException TSRMLS_CC);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php