]> granicus.if.org Git - php/commitdiff
WS (ups)
authorMarcus Boerger <helly@php.net>
Sat, 30 Oct 2004 14:34:43 +0000 (14:34 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 30 Oct 2004 14:34:43 +0000 (14:34 +0000)
ext/spl/spl_directory.c

index da063f77360fd84024edba6d89c83b77f9a3edfb..3cbd2cacc930731a8d3c69e8c192c534d9f35479 100755 (executable)
@@ -121,6 +121,7 @@ static zend_object_value spl_ce_dir_object_new(zend_class_entry *class_type TSRM
 static void spl_ce_dir_open(spl_ce_dir_object* intern, char *path TSRMLS_DC)
 {
        int path_len = strlen(path);
+
        intern->dirp = php_stream_opendir(path, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL);
 
        if (path_len && (path[path_len-1] == '/' || path[path_len-1] == '\\')) {