From: Marcus Boerger Date: Sun, 15 Jan 2006 00:17:08 +0000 (+0000) Subject: - Fix issue found by nuno X-Git-Tag: RELEASE_1_0_4~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d3dc44908cbe51fef3cc6ab9e388ff81cfd3ca5;p=php - Fix issue found by nuno --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 494602d671..a3290f02d9 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -368,6 +368,7 @@ static spl_filesystem_object * spl_filesystem_object_create_type(int ht, spl_fil 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");