Public bug reported:

Binary package hint: php5

In PHP 5.3.2-1ubuntu4 there's a bug concerning getPathInfo() on the
SplFileInfo object. Instead of returning a new SplFileInfo object for
the parent directory it returns a SplFileInfo object for the same file.
The bug is reported and fixed upstream at
http://bugs.php.net/bug.php?id=48361 .

This bug is a regression, PHP 5 under Karmic did not have this issue.

The following patch should fix the issue:
http://svn.php.net/viewvc/php/php-src/trunk/ext/spl/spl_directory.c?r1=298638&r2=298647&view=patch

ViewVC url for the change:
http://svn.php.net/viewvc/php/php-src/trunk/ext/spl/spl_directory.c?r1=298638&r2=298647

I hope this patch will be applied to the PHP 5.3 found in Lucid, the
issue will probably break quite some applications.

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Regression: getPathInfo() doesn't return parent info
https://bugs.launchpad.net/bugs/576910
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to