cvs: php-src(PHP_5_2) /ext/spl spl.php spl_directory.h /ext/spl/examples tree.php
| From: | Marcus Boerger | Date: | Mon, 04 Feb 2008 21:37:55 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/spl spl.php spl_directory.h /ext/spl/examples tree.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48353@lists.php.net to get a copy of this message | ||
helly Mon Feb 4 21:37:55 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/spl spl.php spl_directory.h
/php-src/ext/spl/examples tree.php
Log:
- MFH Really last flag change (got confused with code)
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl.php?r1=1.49.2.11.2.8&r2=1.49.2.11.2.9&diff_format=u
Index: php-src/ext/spl/spl.php
diff -u php-src/ext/spl/spl.php:1.49.2.11.2.8 php-src/ext/spl/spl.php:1.49.2.11.2.9
--- php-src/ext/spl/spl.php:1.49.2.11.2.8 Mon Feb 4 20:43:50 2008
+++ php-src/ext/spl/spl.php Mon Feb 4 21:37:55 2008
@@ -1019,8 +1019,8 @@
*/
class RecursiveDirectoryIterator extends DirectoryIterator implements RecursiveIterator
{
- const CURRENT_AS_FILEINFO 0x00000000; /* make RecursiveDirectoryTree::current() return
SplFileInfo */
- const CURRENT_AS_SELF 0x00000010; /* make RecursiveDirectoryTree::current() return getSelf()
*/
+ const CURRENT_AS_SELF 0x00000000; /* make RecursiveDirectoryTree::current() return getSelf()
*/
+ const CURRENT_AS_FILEINFO 0x00000010; /* make RecursiveDirectoryTree::current() return
SplFileInfo */
const CURRENT_AS_PATHNAME 0x00000020; /* make RecursiveDirectoryTree::current() return
getPathname() */
const KEY_AS_PATHNAME 0x00000000; /* make RecursiveDirectoryTree::key() return getPathname()
*/
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.h?r1=1.12.2.5.2.7&r2=1.12.2.5.2.8&diff_format=u
Index: php-src/ext/spl/spl_directory.h
diff -u php-src/ext/spl/spl_directory.h:1.12.2.5.2.7 php-src/ext/spl/spl_directory.h:1.12.2.5.2.8
--- php-src/ext/spl/spl_directory.h:1.12.2.5.2.7 Mon Feb 4 20:43:50 2008
+++ php-src/ext/spl/spl_directory.h Mon Feb 4 21:37:55 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.h,v 1.12.2.5.2.7 2008/02/04 20:43:50 helly Exp $ */
+/* $Id: spl_directory.h,v 1.12.2.5.2.8 2008/02/04 21:37:55 helly Exp $ */
#ifndef SPL_DIRECTORY_H
#define SPL_DIRECTORY_H
@@ -55,7 +55,7 @@
char *path;
int path_len;
char *file_name;
- int file_name_len;
+ int file_name_len;
SPL_FS_OBJ_TYPE type;
long flags;
zend_class_entry *file_class;
@@ -93,14 +93,14 @@
#define SPL_FILE_OBJECT_SKIP_EMPTY 0x00000006 /* skip empty lines */
#define SPL_FILE_OBJECT_READ_CSV 0x00000008 /* read via fgetcsv */
-#define SPL_FILE_DIR_CURRENT_AS_FILEINFO 0x00000000 /* make RecursiveDirectoryTree::current()
return SplFileInfo */
-#define SPL_FILE_DIR_CURRENT_AS_SELF 0x00000010 /* make RecursiveDirectoryTree::current()
return getSelf() */
+#define SPL_FILE_DIR_CURRENT_AS_SELF 0x00000000 /* make RecursiveDirectoryTree::current()
return getSelf() */
+#define SPL_FILE_DIR_CURRENT_AS_FILEINFO 0x00000010 /* make RecursiveDirectoryTree::current()
return SplFileInfo */
#define SPL_FILE_DIR_CURRENT_AS_PATHNAME 0x00000020 /* make RecursiveDirectoryTree::current()
return getPathname() */
#define SPL_FILE_DIR_CURRENT_MODE_MASK 0x000000F0 /* mask RecursiveDirectoryTree::current() */
#define SPL_FILE_DIR_CURRENT(intern,mode)
((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode)
-#define SPL_FILE_DIR_KEY_AS_PATHNAME 0x00000000 /* make RecursiveDirectoryTree::key() return
getPathname() */
-#define SPL_FILE_DIR_KEY_AS_FILENAME 0x00000100 /* make RecursiveDirectoryTree::key() return
getFilename() */
+#define SPL_FILE_DIR_KEY_AS_FILENAME 0x00000000 /* make RecursiveDirectoryTree::key() return
getFilename() */
+#define SPL_FILE_DIR_KEY_AS_PATHNAME 0x00000100 /* make RecursiveDirectoryTree::key() return
getPathname() */
#define SPL_FILE_DIR_KEY_MODE_MASK 0x00000F00 /* mask RecursiveDirectoryTree::key() */
#define SPL_FILE_DIR_KEY(intern,mode)
((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode)
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/examples/tree.php?r1=1.12&r2=1.12.4.1&diff_format=u
Index: php-src/ext/spl/examples/tree.php
diff -u php-src/ext/spl/examples/tree.php:1.12 php-src/ext/spl/examples/tree.php:1.12.4.1
--- php-src/ext/spl/examples/tree.php:1.12 Tue Feb 8 19:10:05 2005
+++ php-src/ext/spl/examples/tree.php Mon Feb 4 21:37:55 2008
@@ -37,4 +37,4 @@
echo $file . "\n";
}
-?>
\ No newline at end of file
+?>