helly Sun Jan 15 00:17:43 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/spl spl_directory.c Log: - MFH Fix issue found by Nuno http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_directory.c?r1=1.45.2.11&r2=1.45.2.12&diff_format=u Index: php-src/ext/spl/spl_directory.c diff -u php-src/ext/spl/spl_directory.c:1.45.2.11 php-src/ext/spl/spl_directory.c:1.45.2.12 --- php-src/ext/spl/spl_directory.c:1.45.2.11 Fri Jan 13 19:36:57 2006 +++ php-src/ext/spl/spl_directory.c Sun Jan 15 00:17:43 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_directory.c,v 1.45.2.11 2006/01/13 19:36:57 helly Exp $ */ +/* $Id: spl_directory.c,v 1.45.2.12 2006/01/15 00:17:43 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(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