From 2d3dc44908cbe51fef3cc6ab9e388ff81cfd3ca5 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 15 Jan 2006 00:17:08 +0000 Subject: [PATCH] - Fix issue found by nuno --- ext/spl/spl_directory.c | 1 + 1 file changed, 1 insertion(+) 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"); -- 2.50.1