summaryrefslogtreecommitdiff
path: root/ext/spl/spl_directory.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/spl_directory.h')
-rwxr-xr-xext/spl/spl_directory.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/spl/spl_directory.h b/ext/spl/spl_directory.h
index d0d758b5cc..ef75c4d733 100755
--- a/ext/spl/spl_directory.h
+++ b/ext/spl/spl_directory.h
@@ -58,10 +58,12 @@ struct _spl_filesystem_object {
zend_object std;
void *oth;
spl_other_handler *oth_handler;
- char *path;
+ zend_uchar path_type;
+ zstr path;
int path_len;
- char *file_name;
- int file_name_len;
+ zend_uchar file_name_type;
+ zstr file_name;
+ int file_name_len;
SPL_FS_OBJ_TYPE type;
long flags;
zend_class_entry *file_class;
@@ -70,7 +72,8 @@ struct _spl_filesystem_object {
struct {
php_stream *dirp;
php_stream_dirent entry;
- char *sub_path;
+ zend_uchar sub_path_type;
+ zstr sub_path;
int sub_path_len;
int index;
int is_recursive;