]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
authorIlia Alshanetsky <iliaa@php.net>
Wed, 2 Jan 2008 19:20:15 +0000 (19:20 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 2 Jan 2008 19:20:15 +0000 (19:20 +0000)
NEWS
ext/spl/examples/findfile.inc

diff --git a/NEWS b/NEWS
index e2b5a8873882779a6eaf52141b191a66709d1b4a..403b62902a354ceb61ced6f7f6233f6091d27f40 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ PHP                                                                        NEWS
 
 - Fixed bug #43663 (Extending PDO class with a __call() function doesn't work). 
   (David Soria Parra)
+- Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";"). (Ilia)
 - Fixed bug #43635 (mysql extension ingores INI settings on NULL values
   passed to mysql_connect()). (Ilia)
 - Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result 
index 05d525a3fbd6c238ed956f6f0241d2eaa98f3e0a..02ab792433536197056863d41091d9fd58b07294 100755 (executable)
@@ -33,7 +33,7 @@ class FindFile extends FilterIterator
        function __construct($path, $file)
        {
                $this->file = $file;
-               $list = split(';', $path);
+               $list = split(PATH_SEPARATOR, $path);
                if (count($list) <= 1) {
                        parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
                } else {