Regression: getPathInfo() doesn't return parent info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Fix Committed
|
Undecided
|
Unassigned | ||
php5 (Ubuntu) |
Fix Released
|
Undecided
|
Chuck Short | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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://
This bug is a regression, PHP 5 under Karmic did not have this issue.
The following patch should fix the issue:
http://
ViewVC url for the change:
http://
I hope this patch will be applied to the PHP 5.3 found in Lucid, the issue will probably break quite some applications.
Related branches
Changed in php5 (Ubuntu): | |
status: | New → Confirmed |
Changed in php: | |
importance: | Unknown → Undecided |
status: | Unknown → New |
status: | New → Fix Committed |
Changed in php5 (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Chuck Short (zulcss) |
This bug was fixed in the package php5 - 5.3.2-1ubuntu5
---------------
php5 (5.3.2-1ubuntu5) maverick; urgency=low
* debian/ php5-module. ini: Comment should be "#" not ";". (LP: #573436) patches/ cherrypick- upstream- 51740.diff: Fix acinclude.ac macro check. (LP: #576910) patches/ cherrypick- upstream- 48361.diff: Fix regression with getPathInfo() patches/ session_ save_path. patch: ave PHP sessions to
* debian/
* debian/
doesn't return parent info (LP: #576910)
* debian/
/var/lib/php rather than /tmp. (LP: #573222)
-- Chuck Short <email address hidden> Tue, 25 May 2010 10:17:00 -0400