]> granicus.if.org Git - php/commitdiff
Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY)
authorHannes Magnusson <bjori@php.net>
Fri, 30 Sep 2011 14:17:23 +0000 (14:17 +0000)
committerHannes Magnusson <bjori@php.net>
Fri, 30 Sep 2011 14:17:23 +0000 (14:17 +0000)
NEWS
ext/spl/spl_directory.h

diff --git a/NEWS b/NEWS
index 8afdb8924c070879a8b597fafedb88a7d662794c..39efbee170ce8c42639232dcd942fd3da43ac81e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,8 @@ PHP                                                                        NEWS
 - SPL:
   . FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
     the default stream context. (Hannes)
+  . Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
+    (jgotti at modedemploi dot fr, Hannes)
 
 - CLI SAPI:
   . Fixed bug #55726 (Changing the working directory makes router script
index d04ce3f9b33253e71a24d2d95d613ee6dd9f0525..58dd3a8d236d08b87c9af27f5bb4ed02fbde2f07 100755 (executable)
@@ -117,7 +117,7 @@ static inline spl_filesystem_object* spl_filesystem_iterator_to_object(spl_files
 
 #define SPL_FILE_OBJECT_DROP_NEW_LINE      0x00000001 /* drop new lines */
 #define SPL_FILE_OBJECT_READ_AHEAD         0x00000002 /* read on rewind/next */
-#define SPL_FILE_OBJECT_SKIP_EMPTY         0x00000006 /* skip empty lines */
+#define SPL_FILE_OBJECT_SKIP_EMPTY         0x00000004 /* skip empty lines */
 #define SPL_FILE_OBJECT_READ_CSV           0x00000008 /* read via fgetcsv */
 #define SPL_FILE_OBJECT_MASK               0x0000000F /* read via fgetcsv */