From e2c4c7359bf0942f139739d7278ca25417061ba2 Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Thu, 31 Jan 2008 11:09:50 +0000 Subject: [PATCH] fix win32 build --- ext/spl/spl_directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 54ef38278b..81a4c685cb 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -168,10 +168,10 @@ PHPAPI zstr spl_filesystem_object_get_path(spl_filesystem_object *intern, int *l { if (intern->type == SPL_FS_DIR) { if (php_stream_is(intern->u.dir.dirp ,&php_glob_stream_ops)) { + zstr ret; if (type) { *type = IS_STRING; } - zstr ret; ret.s = php_glob_stream_get_path(intern->u.dir.dirp, 0, len); return ret; } -- 2.50.1