helly Sun Jan 15 00:17:08 2006 UTC
Modified files:
/php-src/ext/spl spl_directory.c
Log:
- Fix issue found by nuno
http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_directory.c?r1=1.64&r2=1.65&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.64
php-src/ext/spl/spl_directory.c:1.65
--- php-src/ext/spl/spl_directory.c:1.64 Fri Jan 13 19:35:27 2006
+++ php-src/ext/spl/spl_directory.c Sun Jan 15 00:17:08 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.64 2006/01/13 19:35:27 helly Exp $ */
+/* $Id: spl_directory.c,v 1.65 2006/01/15 00:17:08 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -368,6 +368,7 @@
Z_TYPE_P(return_value) = IS_NULL;
return NULL;
}
+ break;
case SPL_FS_DIR:
php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
zend_throw_exception_ex(U_CLASS_ENTRY(spl_ce_RuntimeException),
0 TSRMLS_CC, "Operation not supported");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php